From 10e2aa7eed41bc326d02cf6055242768465ecdc5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 11 Jul 2023 19:57:31 +0200 Subject: [PATCH] refactor: methods namepace cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/abstract-pool.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pools/abstract-pool.ts b/src/pools/abstract-pool.ts index 3ef57612..b43d44a5 100644 --- a/src/pools/abstract-pool.ts +++ b/src/pools/abstract-pool.ts @@ -1078,8 +1078,8 @@ export abstract class AbstractPool< return message => { this.checkMessageWorkerId(message) if (message.ready != null) { - // Worker ready message received - this.handleWorkerReadyMessage(message) + // Worker ready response received + this.handleWorkerReadyResponse(message) } else if (message.id != null) { // Task execution response received this.handleTaskExecutionResponse(message) @@ -1087,7 +1087,7 @@ export abstract class AbstractPool< } } - private handleWorkerReadyMessage (message: MessageValue): void { + private handleWorkerReadyResponse (message: MessageValue): void { const worker = this.getWorkerById(message.workerId) this.getWorkerInfo(this.getWorkerNodeKey(worker as Worker)).ready = message.ready as boolean -- 2.34.1