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

Method BeforeFinish

processor.go:120–122  ·  view source on GitHub ↗

BeforeFinish adds a callback to be run immediately before a Job is finished on the processor. The callback will be passed the processor itself and the job that's about to be finished. If Finish is called on an idle Processor, the callback still runs but j is nil.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestBeforeFinishFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestBeforeFinishFunction · 0.76