josdejong/workerpool

Throw a WorkerError instead of generic Error

Offen

#274 geöffnet am 05.04.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (164 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (2.307 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 21T 16h) (3 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide