Versions in this module Expand all Collapse all v2 v2.0.0 Dec 4, 2023 Changes in this version + func AddTask(task func()) + func NewPool(opts ...Option) *defaultPool + func Release() + func SetPool(pool Pool) + type Option func(o *options) + func WithDisablePurge(disablePurge bool) Option + func WithNonblocking(nonblocking bool) Option + func WithSize(size int) Option + type Pool interface + AddTask func(task func()) error + Release func() + func GetPool() Pool