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

Method process

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

* Defines a processing function for the jobs placed into a given Queue. * * The callback is called everytime a job is placed in the queue. * It is passed an instance of the job as first argument. * * If the callback signature contains the second optional done argument,

(callback: ProcessCallbackFunction<T>)

Source from the content-addressed store, hash-verified

598 * If it is resolved, its value will be the "completed" event's second argument.
599 */
600 process(callback: ProcessCallbackFunction<T>): Promise<void>;
601 process(callback: ProcessPromiseFunction<T>): Promise<void>;
602 process(callback: string): Promise<void>;
603

Callers 15

procFnFunction · 0.95
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
afterJobsRunningFunction · 0.80
test_job.jsFile · 0.80
test_worker.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected