Skip to content
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

document known Structured Concurrency violations #3108

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

weissi
Copy link
Member

@weissi weissi commented Feb 5, 2025

Motivation:

Not all NIO APIs, particularly the async-bridge interfaces that use .get() under the hood respect Structured Concurrency. That might be okay, but it definitely ought to be documented.

Note: NIOAsyncChannel does follow Structured Concurrency.

Modifications:

Annotate known Structured Concurrency violations.

Result:

Better docs.

@weissi weissi requested a review from Lukasa February 5, 2025 10:48
@Lukasa Lukasa added the semver/none No version bump required. label Feb 5, 2025
@Lukasa Lukasa enabled auto-merge (squash) February 5, 2025 10:51
@Lukasa Lukasa merged commit 73e83ab into apple:main Feb 5, 2025
32 of 36 checks passed
@weissi weissi deleted the jw-sc-doc branch February 5, 2025 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants