andywer / andywer/threads.js

ability to disable the process hooks added by #150

Aberta
#484 1 comentário 1 reação 0 responsáveis Ver no GitHub
Linguagem predominante
TypeScript
Estrelas
3.5k
Forks
173
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.