Skip to content

Conversation

groue
Copy link
Owner

@groue groue commented Feb 23, 2025

This pull request enhances asynchronous APIs by allowing some non-sendable value to be captured by database access closures without compiler error or warning.

It addresses the feature request by @layoutSubviews expressed at https://mastodon.social/@layoutSubviews/114032891799577133.

Applications that use the Swift 5 language mode may have to enable the RegionBasedIsolation upcoming feature in order to profit from the enhancement.

@groue groue changed the title Async database access no longer require Sendable closures. Async database accesses no longer require Sendable closures. Feb 23, 2025
@groue groue merged commit bbd1eab into development Feb 23, 2025
7 of 8 checks passed
@groue groue deleted the dev/sending-closures branch February 23, 2025 14:33
groue added a commit that referenced this pull request Feb 23, 2025
This reverts commit bbd1eab, reversing
changes made to 9b09c53.
@groue
Copy link
Owner Author

groue commented Feb 23, 2025

This pull request makes some apps stop compiling, and was reverted in b48a56a. For more information, see https://hachyderm.io/@groue/114054339905066075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant