From: Jérôme Benoit Date: Wed, 7 Jun 2023 18:55:49 +0000 (+0200) Subject: docs: refine README X-Git-Tag: v2.5.4~5 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=231e02698fcad3821ef42aa56f3425375bd6676d;p=poolifier.git docs: refine README Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index c7a1fc0d..0f7ba475 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,8 @@ An object with these properties: ### `pool.execute(data, name)` `data` (optional) An object that you want to pass to your worker implementation +`name` (optional) A string with the task function name that you want to execute on the worker. Default: `default` This method is available on both pool implementations and returns a promise. -`name` (optional) A string with the task function name that you want to execute on the worker. Default: `default` ### `pool.destroy()`