mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
fix(bull): add options to job (#35139)
* fix: add options to job * fix: add test * fix: lint * fix: trigger build
This commit is contained in:
committed by
Wesley Wigham
parent
70298f269c
commit
bea05e8d52
@@ -16,6 +16,9 @@ videoQueue.process((job, done) => {
|
||||
// job.data contains the custom data passed when the job was created
|
||||
// job.jobId contains id of this job.
|
||||
|
||||
// job.opts contains the options that were passed to the job
|
||||
job.opts;
|
||||
|
||||
// transcode video asynchronously and report progress
|
||||
job.progress(42);
|
||||
|
||||
|
||||
Vendored
+5
@@ -128,6 +128,11 @@ declare namespace Bull {
|
||||
*/
|
||||
data: T;
|
||||
|
||||
/**
|
||||
* Options of the job
|
||||
*/
|
||||
opts: JobOptions;
|
||||
|
||||
/**
|
||||
* How many attempts where made to run this job
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user