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

Method AfterRemove

queue.go:176–178  ·  view source on GitHub ↗

AfterRemove adds a callback to be run immediately after a Job is removed from the queue (with Remove()). The callback will be passed the queue itself and the job that was just shifted. 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

TestQueueAfterRemoveFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueAfterRemoveFunction · 0.76