bull icon indicating copy to clipboard operation
bull copied to clipboard

is `progress` event not implemented now?

Open donsunsoft opened this issue 11 years ago • 2 comments

queue.on('completed', function (job) {
    // Job completed!
    console.log('completed');
}).on('failed', function (job, err) {
    console.log('failed');
}).on('progress', function (job, progress) {
    // Job failed with reason err!
    console.log('progress');
}).on('paused', function () {
    // Job progress updated!
    console.log('paused');
}).on('resumed', function (job) {
    // The queue has been paused
    console.log('resumed');
    // The queue has been resumed
});

i can get completed event, but can not get others.

donsunsoft avatar Jan 30 '15 10:01 donsunsoft

Your job needs to update progress in order to get event updates. Check the examples in the README.

manast avatar Feb 02 '15 09:02 manast

got it. thank you.

donsunsoft avatar Feb 03 '15 07:02 donsunsoft