Пример #1
0
//Stop stops work queue
func Stop(queue *job.Queue) {
	queue.Stop()
}
Пример #2
0
//ForceStop force stop queue
func ForceStop(queue *job.Queue) {
	queue.ForceStop()
}
Пример #3
0
//WaitQueue waits queue get empty
func WaitQueue(queue *job.Queue) {
	queue.Wait()
}