From: Jérôme Benoit Date: Tue, 15 Aug 2023 19:26:24 +0000 (+0200) Subject: docs: refine docs/api.md X-Git-Tag: v2.6.28~22 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=c6ad8edf55abf4e21cd84f0c707c565663a3d8e8;p=poolifier.git docs: refine docs/api.md Signed-off-by: Jérôme Benoit --- 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: