Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Queue ¶
type Queue struct { sync.RWMutex BatchEnded chan bool Sink events.Sink // contains filtered or unexported fields }
Queue struct use to put and get job items
func (*Queue) DequeueWhile ¶
func (q *Queue) DequeueWhile()
DequeueWhile start maxDequeue workers while the queue is not empty
Click to show internal directories.
Click to hide internal directories.