Versions in this module Expand all Collapse all v1 v1.1.1 May 4, 2026 Changes in this version + type WaitFunc func() v1.0.1 Mar 11, 2026 Changes in this version + type AsyncDoubleQueue struct + func NewAsyncDoubleQueue(initCap int, logger *log.Logger) *AsyncDoubleQueue + func (aq *AsyncDoubleQueue) Close() + func (aq *AsyncDoubleQueue) Enqueue(task func()) + func (aq *AsyncDoubleQueue) RunEventLoop() + func (aq *AsyncDoubleQueue) TryEnqueue(task func()) bool + type AsyncQ interface + Close func() + Enqueue func(task func()) + RunEventLoop func() + TryEnqueue func(task func()) bool + type Mutex interface + Lock func() + TryLock func() bool + Unlock func()