Skip to content

Conversation

@fabianfett
Copy link
Member

In order to enable uses of nonisolated(nonsending) in #3378 without adding this sequence of characters everywhere, this pr enables the upcoming feature NonIsolatedNonSendableByDefault

Most of the changes are about adding next(isolation:) calls, where non existed before and wiring through the isolation level to the underlying next call. To please the compiler, I've also made explicit that next() runs on the concurrent executor, by slapping @concurrent on it.

Interestingly nonisolated(nonsending) is not applied to nested function definitions. I applied those manually.

In order to enable uses of `nonisolated(nonsending)` in #3378 without adding this sequence of characters everywhere, this pr enables the upcoming feature `NonIsolatedNonSendableByDefault `
@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants