Versions in this module Expand all Collapse all v1 v1.0.0 Feb 17, 2026 Changes in this version + var ErrPoolNotStarted = errors.New("pool not started") + var ErrPoolShutdown = errors.New("pool is shut down") + type Pool interface + Shutdown func(ctx context.Context) error + Start func(ctx context.Context) error + Submit func(ctx context.Context, work Work) error + func New(size int, workerFunc WorkerFunc) Pool + type Work interface + type WorkerFunc func(ctx context.Context, work Work) error