Versions in this module Expand all Collapse all v0 v0.0.5 Sep 29, 2022 Changes in this version + type DefaultTheadEvent struct + PoolEvent PoolEvent + func (this *DefaultTheadEvent) SetPoolEvent(poolEvent PoolEvent) + type PoolEvent interface + AddErr func(message string, threadName string) + Cancel func(message string) + Ctx func() context.Context + IsCancel func() bool + type PoolManager struct + func (this *PoolManager) AddErr(message string, threadName string) + func (this *PoolManager) Cancel(message string) + func (this *PoolManager) Ctx() context.Context + func (this *PoolManager) ExecuteEvent(callback ThreadEvent) + func (this *PoolManager) Init(durations ...time.Duration) *PoolManager + func (this *PoolManager) IsCancel() bool + func (this *PoolManager) Wait() error + type ThreadEvent interface + Execute func() + SetPoolEvent func(poolEvent PoolEvent)