mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[bull] add removeRepeatableByKey to Queue interface (#35396)
This commit is contained in:
parent
3036b5af27
commit
e096d6a6b4
5
types/bull/index.d.ts
vendored
5
types/bull/index.d.ts
vendored
@ -616,6 +616,11 @@ declare namespace Bull {
|
||||
*/
|
||||
removeRepeatable(name: string, repeat: (CronRepeatOptions | EveryRepeatOptions) & { jobId?: JobId }): Promise<void>;
|
||||
|
||||
/**
|
||||
* Removes a given repeatable job by key.
|
||||
*/
|
||||
removeRepeatableByKey(key: string): Promise<void>;
|
||||
|
||||
/**
|
||||
* Returns a promise that will return an array of job instances of the given types.
|
||||
* Optional parameters for range and ordering are provided.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user