Skip to content

Add support for contexts #14

Open
Open
@mafredri

Description

@mafredri

This might be a stretch for this library, but it would be cool if we had support for contexts, whether directly in this package or a sub-package like qzcontext.

Now, rather than doing context.WithTimeout you'd do clock.Context.WithTimeout(ctx, duration, "tag") (likewise for deadline) and be able to control expiry by advancing the clock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions