Skip to content
Discussion options

You must be logged in to vote

Hey @Alex0Klain! Because diagnostics were unreliable, the library is not quite yet committed regarding sendability requirements, and changes were postponed to a later time, but these changes are imminent if Xcode 14.3 enables sendability checks by default.
In the meantime, you can import ComposableArchitecture like @preconcurrency import ComposableArchitecture and the warning will go away (I think that you can even narrow to @preconcurrency import ComposableArchitecture.BindingAction if you want to preserve concurrency warnings for other parts of the library). Your code is fine and the correct way to conform to Sendable.
When BindingAction will be sendable (it'll very likely be), you'll g…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Alex0Klain
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants