breejs / bree

Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
https://jobscheduler.net
MIT License
3.04k stars 79 forks source link

[Docs] Fix example for event listening #247

Open ludovicm67 opened 4 months ago

ludovicm67 commented 4 months ago

This PR is fixing the example about the event listening part.

bree.worker is undefined, it should be replaced with bree.workers.

Checklist