josdejong/workerpool

Throw a WorkerError instead of generic Error

开放

#274 创建于 2021年4月5日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (164 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (2,307 个星标)
PR 合并指标
 (平均合并 21天 16小时) (30 天内合并 3 个 PR)

描述

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

贡献者指南