Skip to content

Conversation

@Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Oct 28, 2024

Motivation:

RemovableChannelHandlers have a large API surface in NIOCore. That API surface is a bit awkward with regard to strict concurrency, and needs some cleanup.

Modifications:

This patch adds some new API that is necessary to safely work with RemovableChannelHandlers, deprecates some API that cannot plausibly be used, and cleans up some other parts of the API.

Result:

Easier to work with RemovableChannelHandlers

@Lukasa Lukasa added the 🆕 semver/minor Adds new public API. label Oct 28, 2024
Motivation:

RemovableChannelHandlers have a large API surface in NIOCore.
That API surface is a bit awkward with regard to strict concurrency,
and needs some cleanup.

Modifications:

This patch adds some new API that is necessary to safely work with
RemovableChannelHandlers, deprecates some API that cannot plausibly
be used, and cleans up some other parts of the API.

Result:

Easier to work with RemovableChannelHandlers
@Lukasa Lukasa force-pushed the cb-strict-concurrency-removable-handler branch from 40cdd33 to 803eac6 Compare October 28, 2024 16:11
@Lukasa
Copy link
Contributor Author

Lukasa commented Oct 29, 2024

Merging over the API breakage, which is expected and safe.

@Lukasa Lukasa merged commit 411c2c5 into apple:main Oct 29, 2024
40 of 43 checks passed
@Lukasa Lukasa deleted the cb-strict-concurrency-removable-handler branch October 29, 2024 10:40
Lukasa added a commit to Lukasa/swift-nio that referenced this pull request Nov 20, 2024
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.

2 participants