跳到主要内容
版本:Next

IQueueManager <Queue, Job>

Implemented by

Index

Methods

createQueue

  • createQueue(queueName: string, queueOptions?: unknown): Queue

getJob

  • getJob(queueName: string, jobName: string): Promise<Job>

getQueue

  • getQueue(queueName: string): Queue

runJob

  • runJob(queueName: string, jobData: any, options?: unknown): Promise<Job>