MCPcopy Create free account
hub / github.com/cloudwan/gohan / Wait

Method Wait

job/queue.go:100–102  ·  view source on GitHub ↗

Wait until all job get done

()

Source from the content-addressed store, hash-verified

98
99//Wait until all job get done
100func (queue *Queue) Wait() {
101 queue.waitGroup.Wait()
102}
103
104//Stop stops all worker after all job get done
105func (queue *Queue) Stop() {

Callers 8

forEachListFunction · 0.95
cli_test.goFile · 0.80
StopMethod · 0.80
runSyncWatchesMethod · 0.80
WatchMethod · 0.80
WaitQueueFunction · 0.80
RunTestsFunction · 0.80
schemas_test.goFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected