package
Version:
v1.7.0-alpha.1
Opens a new window with list of versions in this module.
Published: Mar 14, 2024
License: MPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ctxutil provides utilities for working with contexts.
Cause returns the cause of the context error, or nil if there is no error or the error is a usual context error.
MonitorFn starts a function in a new goroutine and cancels the context with error as cause when the function returns.
It returns the new context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.