josdejong/workerpool

Throw a WorkerError instead of generic Error

Aberta

#274 aberto em 5 de abr. de 2021

 (1 comentário) (0 reação) (0 responsável)JavaScript (164 forks)github user discovery
enhancementhelp wanted

Métricas do repositório

Stars
 (2.307 estrelas)
Métricas de merge de PR
 (Mesclagem média 21d 16h) (3 fundiu PRs em 30d)

Description

When I call the terminate () function, the worker pool throws an error: "Worker terminated". Please create a class named WorkerError and use it for error messages. Since this is difficult to debug.

image

Guia do colaborador