From 48f97a95d1d8f3eb4b2a5357939f28ea3c38810a Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 Apr 2023 14:33:54 +0200 Subject: [PATCH] docs: enhance pool execute() method documentation MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/pools/pool.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pools/pool.ts b/src/pools/pool.ts index 396c59ad..907bfcb5 100644 --- a/src/pools/pool.ts +++ b/src/pools/pool.ts @@ -149,9 +149,9 @@ export interface IPool< */ findFreeWorkerNodeKey: () => number /** - * Executes the function specified in the constructor with the task data parameter. + * Executes the function specified in the constructor with the task data input parameter. * - * @param data - The input for the specified task. This can only be serializable data. + * @param data - The task input data for the specified function. This can only be serializable data. * @returns Promise that will be resolved when the task is successfully completed. */ execute: (data: Data) => Promise -- 2.34.1