X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=6dce4e385d79cd8e46ac60f4d26db1fc08867e6c;hb=6d6c7ed0c2c3c83cefae4d8cd5bc9393126bba70;hp=3f612975f354af3f49bd21e762b7227701660228;hpb=afa30fd0dd5bbc5d305cc30be663966a449efc08;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 3f612975..6dce4e38 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 the worker computes 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
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file