MCPcopy
hub / github.com/OptimalBits/bull / add

Method add

index.d.ts:695–695  ·  view source on GitHub ↗

* Creates a new job and adds it to the queue. * If the queue is empty the job will be executed directly, * otherwise it will be placed in the queue and executed as soon as possible.

(data: T, opts?: JobOptions)

Source from the content-addressed store, hash-verified

693 * otherwise it will be placed in the queue and executed as soon as possible.
694 */
695 add(data: T, opts?: JobOptions): Promise<Job<T>>;
696
697 /**
698 * Creates a new named job and adds it to the queue.

Callers 15

transpileScriptsMethod · 0.80
interpolateMethod · 0.80
loadMethod · 0.80
test_events.jsFile · 0.80
test_obliterate.jsFile · 0.80
test_pause.jsFile · 0.80
test_getters.jsFile · 0.80
test_queue.jsFile · 0.80
testRemoveOnFinishFunction · 0.80
test_job.jsFile · 0.80
addFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected