X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=1cc063bec19077809a1a2550026792d4b72edf5f;hb=dc32abbbbd36504ce933a0403cc245899c25a828;hp=e56240d2b3fd08208730519bd1074b32d75e65d3;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index e56240d2..1cc063be 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -14,7 +14,7 @@ -

Interface MessageValue<Data, MainWorker>Internal

+

Interface MessageValue<MessageData, Data, MainWorker>Internal

Message object that is passed between main worker and worker.

@@ -23,6 +23,11 @@

Type Parameters

@@ -48,53 +53,26 @@

Properties

Properties

-
data?: Data
+
data?: MessageData

Task input data that will be passed to the worker.

-
- -
elu?: EventLoopUtilization
-

Event loop utilization.

-
-
-
- -
error?: string
-

Task error.

-
-
-
- -
errorData?: unknown
-

Task data triggering task error.

-
-
+
  • Defined in src/pools/worker.ts:47
  • id?: string
    @@ -103,7 +81,7 @@
    +
  • Defined in src/pools/worker.ts:55
  • kill?: 1 | "SOFT" | "HARD"
    @@ -111,7 +89,7 @@
    +
  • Defined in src/utility-types.ts:72
  • name?: string
    @@ -120,7 +98,7 @@
    +
  • Defined in src/pools/worker.ts:43
  • parent?: MainWorker
    @@ -128,23 +106,31 @@
    -
    - -
    runTime?: number
    -

    Runtime.

    -
    -
    +
  • Defined in src/utility-types.ts:84
  • -
    statistics?: WorkerStatistics
    +
    statistics?: WorkerStatistics

    Whether to compute the given statistics or not.

    +
  • Defined in src/utility-types.ts:88
  • +
    + +
    taskError?: TaskError<Data>
    +

    Task error.

    +
    +
    +
    + +
    taskPerformance?: TaskPerformance
    +

    Task performance.

    +
    +
    timestamp?: number
    @@ -153,15 +139,7 @@
    -
    - -
    waitTime?: number
    -

    Wait time.

    -
    -
    +
  • Defined in src/pools/worker.ts:51