opts: WorkerOptions = {}
) {
super(
- 'worker-thread-pool:poolifier',
+ 'poolifier:thread-worker',
isMainThread,
parentPort as MessagePort,
taskFunctions,
this.port.postMessage({ ...message, workerId: this.id })
}
- /** @inheritDoc */
+ /**
+ * @inheritDoc
+ * @override
+ */
protected handleError (error: Error | string): string {
return error as string
}