X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=7cb8119491d7dc0b5e5c9fc8496720575f762c7b;hb=20ebfb03d96dc805e59643cf1f90667545a3fef2;hp=36dfd2dbf25a6eb12bfcbc324e5d2fbf236f0568;hpb=4f487526a63c873d168386250b40ad8103c5a4d8;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 36dfd2db..7cb81194 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:62
  • @@ -48,17 +48,15 @@

    Properties

    Properties

    @@ -70,31 +68,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 +77,7 @@
    +
  • Defined in src/pools/worker.ts:55
  • kill?: 1 | "SOFT" | "HARD"
    @@ -111,7 +85,7 @@
    +
  • Defined in src/utility-types.ts:71
  • name?: string
    @@ -120,31 +94,39 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    +
  • Defined in src/pools/worker.ts:43
  • +
    + +
    started?: boolean
    +

    Whether the worker has started or not.

    -
    - -
    runTime?: number
    -

    Runtime.

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

    Whether to compute the given statistics or not.

    +

    Whether the worker computes the given statistics or not.

    +
    +
    +
    + +
    taskError?: TaskError<ErrorData>
    +

    Task error.

    +
    +
    +
    + +
    taskPerformance?: TaskPerformance
    +

    Task performance.

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

    Wait time.

    +
  • Defined in src/pools/worker.ts:51
  • +
    + +
    workerId?: number
    +

    Worker id.

    +
  • Defined in src/utility-types.ts:67
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file