You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: propagte job progress events and support synchronous events
Fixes two bugs with the Queue class:
1. When joining an existing job, progress events were not received by the second context
2. If a progress event was emitted before any async work was done in a queue job under the concurrency threshold, it was missed because the job result recipient had not been registered yet
* 1. Items remain at the head of the queue while they are running so `queue.size` includes `queue.pending` items - this is so interested parties can join the results of a queue item while it is running
119
120
* 2. The options for a job are stored separately to the job in order for them to be modified while they are still in the queue
0 commit comments