Versions in this module Expand all Collapse all v0 v0.55.2 Apr 12, 2025 v0.55.1 Apr 12, 2025 Changes in this version + type Semaphore struct + func NewSemaphore(n int) *Semaphore + func (l *Semaphore) Acquire() + func (l *Semaphore) Available() int + func (l *Semaphore) Limit() int + func (l *Semaphore) Release() + func (l *Semaphore) Used() int + type WaitGroup struct + func NewWaitGroup(ctx context.Context) *WaitGroup + func (wg *WaitGroup) Add(delta int64) + func (wg *WaitGroup) Done() + func (wg *WaitGroup) Wait() <-chan struct{}