MCPcopy Create free account
hub / github.com/dc0d/workerpool / initWorker

Method initWorker

workerpool.go:229–235  ·  view source on GitHub ↗
(wg *sync.WaitGroup)

Source from the content-addressed store, hash-verified

227}
228
229func (w *worker) initWorker(wg *sync.WaitGroup) {
230 if stopped(w.poolQuit) {
231 return
232 }
233
234 w.begin(wg)
235}
236
237type workerBuilder worker
238

Callers 2

NewFunction · 0.80
ExpandMethod · 0.80

Calls 2

beginMethod · 0.95
stoppedFunction · 0.85

Tested by

no test coverage detected