Closed slavb18 closed 2 years ago
queue.sizeBy currently supports filtering by priority only it could be extended to any prop e.g.
const options = { uid: '341a0c1b-147a-4b8e-9b9d-186773918a25' }; queue.add(() => delay(2000), options); console.log('size by', queue.sizeBy({ uid: '341a0c1b-147a-4b8e-9b9d-186773918a25' }));
Can you add a test and docs updates?
Bump :)
Tests are not passing.
queue.sizeBy currently supports filtering by priority only it could be extended to any prop e.g.