docs: refine code comment
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 21 Jul 2023 14:24:14 +0000 (16:24 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 21 Jul 2023 14:24:14 +0000 (16:24 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utility-types.ts

index c4a8bf115174d6d60bb114975dfabc81f4a75c9f..be0ed287633b24e211e46024f736aefc033701e3 100644 (file)
@@ -125,7 +125,7 @@ export interface MessageValue<Data = unknown, ErrorData = unknown>
 }
 
 /**
- * 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<Response = unknown> {
    */
   readonly reject: (reason?: unknown) => void
   /**
-   * The worker node key handling the execution.
+   * The worker node key executing the task.
    */
   readonly workerNodeKey: number
 }