Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.
I have been trying to stop the job from the worker using the "postMessage("cancelled")" example but it doesn't seem to work. The job keeps running at the same interval even after the message event is triggered from the worker to the parent. I've followed the steps mentioned in this section. I could be missing something very obvious but I'm not exactly sure what that is.
I have been trying to stop the job from the worker using the "postMessage("cancelled")" example but it doesn't seem to work. The job keeps running at the same interval even after the message event is triggered from the worker to the parent. I've followed the steps mentioned in this section. I could be missing something very obvious but I'm not exactly sure what that is.