MCPcopy Create free account
hub / github.com/evilsocket/islazy / WaitDone

Method WaitDone

async/queue.go:85–87  ·  view source on GitHub ↗

WaitDone stops until all jobs on the queue have been processed.

()

Source from the content-addressed store, hash-verified

83
84// WaitDone stops until all jobs on the queue have been processed.
85func (wq *WorkQueue) WaitDone() {
86 wq.jobs.Wait()
87}
88
89// Stop stops the job queue and the workers.
90func (wq *WorkQueue) Stop() {

Callers 1

mainFunction · 0.80

Calls 1

WaitMethod · 0.80

Tested by

no test coverage detected