josdejong/workerpool

Throw a WorkerError instead of generic Error

Open

#274 aperta il 5 apr 2021

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

Metriche repository

Star
 (2297 star)
Metriche merge PR
 (Metriche PR in attesa)

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