X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futility-types.ts;h=123b5d6ea4fa397982c6195de0d9ccd95ba0c1df;hb=7629bdf1633551ff56f7e2108fb27bcd6ae4c68b;hp=c4a8bf115174d6d60bb114975dfabc81f4a75c9f;hpb=501aea93c14789538c4e221fbab2f8afb80f4cf9;p=poolifier.git diff --git a/src/utility-types.ts b/src/utility-types.ts index c4a8bf11..123b5d6e 100644 --- a/src/utility-types.ts +++ b/src/utility-types.ts @@ -80,9 +80,9 @@ export interface Task { */ readonly timestamp?: number /** - * Message UUID. + * Task UUID. */ - readonly id?: string + readonly taskId?: string } /** @@ -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 }