Producers
Producers
import { Injectable } from '@nestjs/common';
import { QueuePro } from 'taskforcesh/bullmq-pro';
import { InjectQueue } from '@taskforcesh/nestjs-bullmq-pro';
@Injectable()
export class AudioService {
constructor(@InjectQueue('audio') private audioQueue: QueuePro) {}
}const job = await this.audioQueue.add({
foo: 'bar',
});Flow Producers
Read more:
Last updated
Was this helpful?