Versions in this module Expand all Collapse all v1 v1.0.2 Nov 28, 2021 v1.0.1 Nov 28, 2021 Changes in this version + func Add(ctx context.Context, f Func) error + func AddWithRecover(ctx context.Context, userFunc Func, recoverFunc ...func(err error)) error + func Jobs() int + func Size() int + type Func func(ctx context.Context) + type Pool struct + func New(limit ...int) *Pool + func (p *Pool) Add(ctx context.Context, f Func) error + func (p *Pool) AddWithRecover(ctx context.Context, userFunc Func, recoverFunc ...func(err error)) error + func (p *Pool) Cap() int + func (p *Pool) Close() + func (p *Pool) IsClosed() bool + func (p *Pool) Jobs() int + func (p *Pool) Size() int