package
3.6.1
Repository: https://github.com/bobg/go-generics.git
Documentation: pkg.go.dev

# Functions

Consumers launches n parallel workers each consuming values supplied by the caller.
Pool permits up to n concurrent calls to a function f.
Producers launches n parallel workers each running the function f.
Protect offers safe concurrent access to a protected value.
Values produces a slice of n values using n parallel workers each running the function f.

# Structs

Error is an error type for wrapping errors returned from worker goroutines.