Skip to content

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