From 231e02698fcad3821ef42aa56f3425375bd6676d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 7 Jun 2023 20:55:49 +0200 Subject: [PATCH] docs: refine README MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()` -- 2.34.1