Categorygithub.com/couchbase/tools-common/sync/v2
modulepackage
2.0.0
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Packages

Package hofp exposes a generic higher order function pool which abstracts aways the logic/error handling required to perform tasks concurrently by wrapping complex tasks into a common 'func(context.Context) error' interface.

# Functions

NewInitBarrier creates a new populated initialization barrier which will allow a single thread to perform initialization.