MCPcopy Create free account
hub / github.com/danslimmon/qsim / BeforeStart

Method BeforeStart

processor.go:89–91  ·  view source on GitHub ↗

BeforeStart adds a callback to be run immediately before a Job is started on the processor. The callback will be passed the processor itself and the job that's about to be started. If Start is called on a busy Processor, there is no change in the callback's behavior: it's still passed the new job,

(f func(p *Processor, j *Job))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestBeforeStartFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestBeforeStartFunction · 0.76