Documentation ¶
Overview ¶
Package cancellablecontext is a wrapper around context.WithCancel that exposes context.CancelFunc as a receiver.
This is just a convenience package that makes passing a cancellable context to child services easier, as with this you only have to pass a CancellableContext to a child, rather than both a context.Context and a context.CancelFunc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package cancellablecontextiface represents a context that supports cancellation.
|
Package cancellablecontextiface represents a context that supports cancellation. |
Click to show internal directories.
Click to hide internal directories.