MCPcopy Create free account
hub / github.com/LyricTian/queue / Push

Function Push

queue.go:34–39  ·  view source on GitHub ↗

Push put the executable task into the queue

(job Jober)

Source from the content-addressed store, hash-verified

32
33// Push put the executable task into the queue
34func Push(job Jober) {
35 if internalQueue == nil {
36 return
37 }
38 internalQueue.Push(job)
39}
40
41// Terminate terminate the queue to receive the task and release the resource
42func Terminate() {

Callers

nothing calls this directly

Calls 1

PushMethod · 0.65

Tested by

no test coverage detected