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

Method Stop

async/queue.go:90–95  ·  view source on GitHub ↗

Stop stops the job queue and the workers.

()

Source from the content-addressed store, hash-verified

88
89// Stop stops the job queue and the workers.
90func (wq *WorkQueue) Stop() {
91 close(wq.stopChan)
92 wq.jobs.Wait()
93 wq.done.Wait()
94 close(wq.jobChan)
95}

Callers

nothing calls this directly

Calls 1

WaitMethod · 0.80

Tested by

no test coverage detected