pancsta/asyncmachine-go

feat(machine): optimize subscription ctx-based disposal

pancsta opened this issue · 0 comments

Currently every subscription method calls disposeWithCtx which spin up a dedicated go-routine with select. Instead, a periodic GC should happen, triggered after the queue is done processing.