X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fworker%2Fthread-worker.ts;h=ede0b3b5602f6335e2fc0c3409a719fd5edbf5b6;hb=c172526cd82999efbace45402e0bd6d9ae173963;hp=8d30ef21a8874dcfb6802e2436a7d6033a4fa8ec;hpb=a5d152043363ea21ec667205c88e0b9f2a6ff04e;p=poolifier.git diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index 8d30ef21..ede0b3b5 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -62,13 +62,13 @@ export class ThreadWorker< this.port.on('message', this.messageListener.bind(this)) this.sendToMainWorker({ ready: true, - taskFunctions: this.listTaskFunctions(), + taskFunctionNames: this.listTaskFunctionNames(), workerId: this.id }) } catch { this.sendToMainWorker({ ready: false, - taskFunctions: this.listTaskFunctions(), + taskFunctionNames: this.listTaskFunctionNames(), workerId: this.id }) }