From: Jérôme Benoit Date: Sat, 15 Apr 2023 12:33:54 +0000 (+0200) Subject: docs: enhance pool execute() method documentation X-Git-Tag: v2.4.9~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=48f97a95d1d8f3eb4b2a5357939f28ea3c38810a;p=poolifier.git docs: enhance pool execute() method documentation Signed-off-by: Jérôme Benoit --- 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