From: Jérôme Benoit Date: Fri, 21 Jul 2023 14:24:14 +0000 (+0200) Subject: docs: refine code comment X-Git-Tag: v2.6.20~9 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e5d3809a1257001dde331c074b61c5ddb01a5844;p=poolifier.git docs: refine code comment Signed-off-by: Jérôme Benoit --- diff --git a/src/utility-types.ts b/src/utility-types.ts index c4a8bf11..be0ed287 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -125,7 +125,7 @@ export interface MessageValue } /** - * An object holding the execution response promise resolve/reject callbacks. + * An object holding the task execution response promise resolve/reject callbacks. * * @typeParam Response - Type of execution response. This can only be structured-cloneable data. * @internal @@ -140,7 +140,7 @@ export interface PromiseResponseWrapper { */ readonly reject: (reason?: unknown) => void /** - * The worker node key handling the execution. + * The worker node key executing the task. */ readonly workerNodeKey: number }