mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
add getWaiting function to queue
This commit is contained in:
Vendored
+5
@@ -425,6 +425,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