package
1.25.10
Repository: https://github.com/aperturerobotics/util.git
Documentation: pkg.go.dev

# Functions

NewKeyed constructs a new Keyed execution manager.
NewKeyedRefCount constructs a new Keyed execution manager with reference counting.
NewKeyedRefCountWithLogger constructs a new Keyed execution manager with reference counting.
NewKeyedWithLogger constructs a new keyed instance.
NewLogExitedCallback returns a ExitedCb which logs when a controller exited.
WithBackoff adds a function to call to construct a backoff.
WithExitCb adds a callback after a routine exits.
WithExitLogger adds a exited callback which logs information about the exit.
WithReleaseDelay adds a delay after removing a key before canceling the routine.
WithRetry adds a retry after a routine exits with an error.

# Structs

Keyed manages a set of goroutines with associated Keys.
KeyedRef is a reference to a key.
KeyedRefCount manages a list of running routines with reference counts.
KeyWithData is a key with associated data.

# Interfaces

Option is an option for a Keyed instance.

# Type aliases

Routine is a function called as a goroutine.