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

Method BeforeRemove

queue.go:161–163  ·  view source on GitHub ↗

BeforeRemove adds a callback to be run immediately before a Job is removed from the queue (with Remove()). The callback will be passed the queue itself and the job that's about to be removed. If Remove is called on an empty queue, this callback will not run.

(f func(q *Queue, j *Job))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestQueueBeforeRemoveFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueBeforeRemoveFunction · 0.76