Documentation
¶
Overview ¶
Package asynctx provides a mechanism to create derived contexts that can be used in an asynchronous setting.
These contexts will share the values of the original context, but not Deadline, Error or Done.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func From ¶
From returns a new derived context that can be safely used in asynchronous operations that have a different lifetime than the original.
Functionally, it preserves the behavior of the parent context's Value, but its Deadline, Done, and Error methods behave like those of context.Background.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.