package
24.3.6+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

CanDirectlyDetectCancellation checks to make sure that the parent context can be used to detect parent cancellation without the need to spin up goroutine.
WhenDone arranges for the specified function to be invoked when parent context becomes done and returns true.

# Type aliases

WhenDoneFunc is the callback invoked by context when it becomes done.