josdejong/workerpool

Throw a WorkerError instead of generic Error

Aperta

#274 aperta il 5 apr 2021

 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (164 fork)github user discovery
enhancementhelp wanted

Metriche repository

Star
 (2307 stelle)
Metriche merge PR
 (Merge medio 21g 16h) (3 PR mergiate in 30 g)

Descrizione

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

Guida contributor