coder / coder/quartz

Add support for contexts

Open
#14 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
273
Forks
9
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.