From c6ad8edf55abf4e21cd84f0c707c565663a3d8e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Tue, 15 Aug 2023 21:26:24 +0200 Subject: [PATCH] docs: refine docs/api.md MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index a3ce53d7..1b3e3969 100644 --- a/docs/api.md +++ b/docs/api.md @@ -54,9 +54,9 @@ This method is available on both pool implementations and returns an array of th An object with these properties: +- `onlineHandler` (optional) - A function that will listen for online event on each worker - `messageHandler` (optional) - A function that will listen for message event on each worker - `errorHandler` (optional) - A function that will listen for error event on each worker -- `onlineHandler` (optional) - A function that will listen for online event on each worker - `exitHandler` (optional) - A function that will listen for exit event on each worker - `workerChoiceStrategy` (optional) - The worker choice strategy to use in this pool: -- 2.34.1