Skip to content

Document cancellation safety for DelayQueue #7374

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

Open
cheesycod opened this issue May 29, 2025 · 0 comments
Open

Document cancellation safety for DelayQueue #7374

cheesycod opened this issue May 29, 2025 · 0 comments
Labels
A-tokio-util Area: The tokio-util crate C-feature-request Category: A feature request. M-time Module: tokio/time T-docs Topic: documentation

Comments

@cheesycod
Copy link

Is your feature request related to a problem? Please describe.

When using tokio::select macro, knowing the cancellation safety is useful information to prevent against any side effects.

Describe the solution you'd like

DelayQueue seems to have cancellation safety but it would be nice for a guarantee to be provided.

Describe alternatives you've considered

None

Additional context

None

@cheesycod cheesycod added A-tokio Area: The main tokio crate C-feature-request Category: A feature request. labels May 29, 2025
@Darksonn Darksonn added T-docs Topic: documentation A-tokio-util Area: The tokio-util crate M-time Module: tokio/time and removed A-tokio Area: The main tokio crate labels Jun 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio-util Area: The tokio-util crate C-feature-request Category: A feature request. M-time Module: tokio/time T-docs Topic: documentation
Projects
None yet
Development

No branches or pull requests

2 participants