//
pkg.gl
Category
github.com/uber/cadence
common
ctxutils
package
1.2.18-prerelease02
Repository:
https://github.com/uber/cadence.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
2
Dependents
1
Files
29 SLOC
#
Functions
WithPropagatedContextCancel
WithPropagatedContextCancel returns a copy of parent which is cancelled whenever it is cancelled itself (with the returned cancel func) or cancelCtx is cancelled you need to call cancel func to avoid potential goroutine leak.