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

Method AfterAppend

queue.go:116–118  ·  view source on GitHub ↗

AfterAppend adds a callback to be run immediately after a Job is appended to the queue. The callback will be passed the queue itself and the job that was just appended. If Append is called when the Queue's length is not below MaxLength, AfterAppend callbacks will still run but they'll be passed j=n

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestQueueAfterAppendFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestQueueAfterAppendFunction · 0.76