Skip to content

context_token::lease() should return a [[nodiscard]] guard #29

Closed as duplicate
Closed as duplicate

Description

@kammce

Leasing a context_token should create a guard object that, on destruction, frees/releases the token such that other coroutines can use that resource. A guard is critical in order to be exception/error safe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions