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

Method BeforeAppend

queue.go:100–102  ·  view source on GitHub ↗

BeforeAppend adds a callback to be run immediately before a Job is appended to the queue. The callback will be passed the queue itself and the job that's about to be appended.

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestQueueBeforeAppendFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestQueueBeforeAppendFunction · 0.76