Skip to content

refactor: do not use CancellationToken in public API#3947

Merged
Frando merged 1 commit intoramfox/dropped-endpointfrom
Frando/endpoint-closed-fix
Feb 16, 2026
Merged

refactor: do not use CancellationToken in public API#3947
Frando merged 1 commit intoramfox/dropped-endpointfrom
Frando/endpoint-closed-fix

Conversation

@Frando
Copy link
Copy Markdown
Member

@Frando Frando commented Feb 16, 2026

Description

Based on #3879

This makes Endpoint::closed return a named future instead of CancellationToken to not depend on tokio_util in our public API.

@Frando Frando marked this pull request as ready for review February 16, 2026 10:47
@github-actions
Copy link
Copy Markdown

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/3947/docs/iroh/

Last updated: 2026-02-16T10:48:56Z

@Frando Frando merged commit 7d38ded into ramfox/dropped-endpoint Feb 16, 2026
25 of 28 checks passed
@dignifiedquire dignifiedquire deleted the Frando/endpoint-closed-fix branch February 16, 2026 11:17
ramfox pushed a commit that referenced this pull request Feb 17, 2026
## Description

Based on #3879

This makes `Endpoint::closed` return a named future instead of
`CancellationToken` to not depend on `tokio_util` in our public API.
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.

2 participants