andywer / andywer/threads.js

ability to disable the process hooks added by #150

Open
#484 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

I have my own graceful shutdown functionality, so would need to disable this functionality so I can control when process.exit is called as I have more to do than clean up worker threads.

At the very least, it would be useful to be able to disable this functionality. I do think its bad for a library to add calls to process.exit in general, and would encourage you to remove it entirely.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.