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

Method withPool

workerpool.go:239–242  ·  view source on GitHub ↗
(pool chan chan func())

Source from the content-addressed store, hash-verified

237type workerBuilder worker
238
239func (builder workerBuilder) withPool(pool chan chan func()) workerBuilder {
240 builder.pool = pool
241 return builder
242}
243func (builder workerBuilder) withPoolQuit(poolQuit <-chan struct{}) workerBuilder {
244 builder.poolQuit = poolQuit
245 return builder

Callers 2

NewFunction · 0.95
ExpandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected