package
1.0.3
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

NewPool returns a new higher order function worker pool with the provided number of workers.

# Structs

Options encapsulates the available options which can be used when creating a worker pool.
Pool is a generic higher order function worker pool which executes the provided functions concurrently using a configurable number of workers.

# Type aliases

Function is a higher order function to be executed by the worker pool, where possible, the function should honor the cancellation of the given context and return as quickly/cleanly as possible.