Skip to content

Bring back TaskGroup.next() and ThrowingTaskGroup.next() as public API #73425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 4, 2024

Conversation

DougGregor
Copy link
Member

With the introduction of next(isolation:) into the task group types, we removed the public APIs for the no-argument next() versions, leaving them only as @usableFromInline internal entrypoints for the ABI. Because the next(isolation:) versions have a default argument, this was sufficient for providing source compatibility for calls, but not for protocol conformances.

Bring these APIs back publicly. Fixes rdar://127499568.

…c API

With the introduction of `next(isolation:)` into the task group types,
we removed the public APIs for the no-argument `next()` versions,
leaving them only as `@usableFromInline internal` entrypoints for the
ABI. Because the `next(isolation:)` versions have a default argument,
this was sufficient for providing source compatibility for calls, but
not for protocol conformances.

Bring these APIs back publicly. Fixes rdar://127499568.
@DougGregor DougGregor requested a review from ktoso as a code owner May 3, 2024 19:14
@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor
Copy link
Member Author

@swift-ci please smoke test

@DougGregor DougGregor merged commit 406346b into swiftlang:main May 4, 2024
3 checks passed
@DougGregor DougGregor deleted the task-group-next-public branch May 4, 2024 07:09
@ktoso
Copy link
Contributor

ktoso commented May 7, 2024

Late LGTM :)

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

Successfully merging this pull request may close these issues.

3 participants