tideland / go-worker

Handle synchronous and asynchronous tasks enqueued in the background.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encapsulate Buffer into Queue

themue opened this issue · comments

Currently buffer functionality is loosely coupled in two functions and a goroutine. It has to be encapsulated into an own type to be isolated, e.g. for worker pools and the attachment of startup und shutdown hooks.