josdejong/workerpool

Throw a WorkerError instead of generic Error

Ouverte

#274 ouverte le 5 avr. 2021

 (1 commentaire) (0 réaction) (0 personne assignée)JavaScript (164 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 307 étoiles)
Métriques de merge PR
 (Merge moyen 21j 16h) (3 PRs mergées en 30 j)

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

Guide contributeur