We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a worker like this
worker.on("run", async () => { console.log("started"); await run(); console.log("finished"); });
however, await worker.emit('run') will never resolve. after changing the worker to
await worker.emit('run')
worker.on("run", async () => { console.log("started"); await run(); console.log("finished"); return true });
it resolves.
The text was updated successfully, but these errors were encountered:
Great lib, saves me tons of life
Sorry, something went wrong.
No branches or pull requests
I have a worker like this
however,
await worker.emit('run')
will never resolve. after changing the worker toit resolves.
The text was updated successfully, but these errors were encountered: