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

Interface MessageValue<Data, MainWorker>Internal

+

Interface MessageValue<Data, ErrorData>Internal

Message object that is passed between main worker and worker.

@@ -24,12 +24,12 @@
@@ -39,7 +39,7 @@
+
  • Defined in src/utility-types.ts:54
  • @@ -48,17 +48,13 @@

    Properties

    Properties

    @@ -70,31 +66,7 @@
    -
    - -
    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 +75,7 @@
    +
  • Defined in src/pools/worker.ts:55
  • kill?: 1 | "SOFT" | "HARD"
    @@ -111,7 +83,7 @@
    +
  • Defined in src/utility-types.ts:59
  • name?: string
    @@ -120,31 +92,31 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    +
  • Defined in src/pools/worker.ts:43
  • +
    + +
    statistics?: WorkerStatistics
    +

    Whether to compute the given statistics or not.

    -
    - -
    runTime?: number
    -

    Runtime.

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

    Task error.

    -
    - -
    statistics?: WorkerStatistics
    -

    Whether to compute the given statistics or not.

    +
  • Defined in src/utility-types.ts:63
  • +
    + +
    taskPerformance?: TaskPerformance
    +

    Task performance.

    +
  • Defined in src/utility-types.ts:67
  • timestamp?: number
    @@ -153,15 +125,7 @@
    -
    - -
    waitTime?: number
    -

    Wait time.

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