Versions in this module Expand all Collapse all v1 v1.0.1 Apr 13, 2021 Changes in this version + func AttachPanicHandle(f func()) func() + func CheckGoroutineErr(errCtx context.Context) error + type Job func() + type Pool struct + JobQueue chan Job + func NewPool(numWorkers int, jobQueueLen int) *Pool + func (p *Pool) JobDone() + func (p *Pool) Release() + func (p *Pool) SendJob(job func()) + func (p *Pool) SendJobWithDeadline(job func(), t time.Time) bool + func (p *Pool) SendJobWithTimeout(job func(), t time.Duration) bool + func (p *Pool) WaitAll() + func (p *Pool) WaitCount(count int)