Skip to content

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

@kammce

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.

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