bunqueue v2.6.114
blog · release
bunqueue v2.6.114
Fixes 1 bug. Worker 'ready' event never fires with chained listener: Worker.run() was emitting 'ready' synchronously inside the constructor (when autorun: true, the default), so listeners attached via the chained pattern new…
To install bunqueue v2.6.114
Section titled “To install bunqueue v2.6.114”bun add bunqueue@2.6.114npm install bunqueue@2.6.114To upgrade bunqueue
Section titled “To upgrade bunqueue”bun add bunqueue@latestBugfixes
Section titled “Bugfixes”- Worker
'ready'event never fires with chained listener:Worker.run()was emitting'ready'synchronously inside the constructor (whenautorun: true, the default), so listeners attached via the chained patternnew Worker(...).on('ready', ...)were registered too late and missed the event. The emit is now deferred viaqueueMicrotask, so listeners attached synchronously after construction still receive'ready'. Fixes #76.
Thanks to 1 contributor!
Section titled “Thanks to 1 contributor!”← bunqueue v2.6.113 · Release on GitHub · Commits since v2.6.113 · Full changelog · All posts