opts: WorkerOptions = {}
) {
super(
- 'worker-thread-pool:poolifier',
+ 'poolifier:thread-worker',
isMainThread,
parentPort as MessagePort,
taskFunctions,
}
/** @inheritDoc */
- protected handleError (e: Error | string): string {
- return e as string
+ protected handleError (error: Error | string): string {
+ return error as string
}
}