josdejong/workerpool

Throw a WorkerError instead of generic Error

Open

#274 ouverte le 5 avr. 2021

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)JavaScript (164 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 297 stars)
Métriques de merge PR
 (Métriques PR en attente)

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