Skip to main content

Module context

Module context 

Source
Expand description

Cancellation and deadlines for Protocol v2 operations (the Go reference’s context.Context). A context is cheap to clone and safe to share between threads. Cancelling a parent cancels every context derived from it.

Structs§

V2CancelHandle
Cancels the context it was created with (and every context derived from that one). Dropping the handle does not cancel.
V2Context
A cancellation context. V2Context::background is never done.