Skip to content
Get started
Get started
bunqueue v2.6.114
View Markdown
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…

bun add bunqueue@2.6.114
npm install bunqueue@2.6.114
bun add bunqueue@latest
  • 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 Worker(...).on('ready', ...) were registered too late and missed the event. The emit is now deferred via queueMicrotask, so listeners attached synchronously after construction still receive 'ready'. Fixes #76.

← bunqueue v2.6.113 · Release on GitHub · Commits since v2.6.113 · Full changelog · All posts