Skip to content

Document cancellation safety for DelayQueue #7374

@cheesycod

Description

@cheesycod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokio-utilArea: The tokio-util crateC-feature-requestCategory: A feature request.M-timeModule: tokio/timeT-docsTopic: documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions