Quick Start
This is a basic guide to get your first queue working.
Install
$ npm install bullmq$ yarn add bullmqimport { Queue } from 'bullmq';
const myQueue = new Queue('foo');
async function addJobs() {
await myQueue.add('myJobName', { foo: 'bar' });
await myQueue.add('myJobName', { qux: 'baz' });
}
await addJobs();Last updated
Was this helpful?