X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=018ff8e133bdb82d04e495b43b2752d59a30a36f;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=e56240d2b3fd08208730519bd1074b32d75e65d3;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index e56240d2..018ff8e1 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