Type Parameters
- T extends Record<string, unknown>
Constructors
constructor
- new TakaroQueue<T extends Record<string, unknown>>(name: string): TakaroQueue<T>
Type Parameters
- T extends Record<string, unknown>
Properties
Methods
add
- add(data: T, extra?: JobsOptions, name?: string): Promise<Job<T>>
Parameters
- data: T
- extra: JobsOptions = {}
- name: string = ...
Returns Promise<Job<T>>
getRepeatableJobs
- getRepeatableJobs(): Promise<RepeatableJob[]>
Returns Promise<RepeatableJob[]>
removeRepeatableByKey
- removeRepeatableByKey(id: string): Promise<boolean>
Returns Promise<boolean>