Getters
Job Counts
import { QueuePro } from '@taskforcesh/bullmq-pro';
const queue = new QueuePro('myQueue', { connection });
const groupId = 'my group';
const count = await queue.getGroupsJobsCount(1000); // 1000 groups in each iterationconst activeCount = await queue.getGroupActiveCount(groupId);Get Jobs
const jobs = await queue.getGroupJobs(groupId, 0, 100);Read more:
Last updated
Was this helpful?