mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Merge pull request #23231 from btkostner/master
update bull pause and resume params
This commit is contained in:
Vendored
+6
-1
@@ -135,7 +135,7 @@ declare namespace Bull {
|
||||
promote(): Promise<void>;
|
||||
}
|
||||
|
||||
type JobStatus = 'completed' | 'wait' | 'active' | 'delayed' | 'failed';
|
||||
type JobStatus = 'completed' | 'waiting' | 'active' | 'delayed' | 'failed';
|
||||
|
||||
interface BackoffOptions {
|
||||
/**
|
||||
@@ -431,6 +431,11 @@ declare namespace Bull {
|
||||
*/
|
||||
getJob(jobId: JobId): Promise<Job>;
|
||||
|
||||
/**
|
||||
* Returns a promise that will return an array with the waiting jobs between start and end.
|
||||
*/
|
||||
getWaiting(start?: number, end?: number): Promise<Job[]>;
|
||||
|
||||
/**
|
||||
* Returns a promise that will return an array with the active jobs between start and end.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user