X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=5cd6d5db7bc905b046fdacb368286d185c4822f8;hb=a109e1c64ce3cff450fa79aebfa4de0ac3662be9;hp=e56240d2b3fd08208730519bd1074b32d75e65d3;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index e56240d2..5cd6d5db 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -MessageValue | poolifier
+MessageValue | poolifier - v2.6.12
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.12
    @@ -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:58
  • @@ -47,54 +47,37 @@

    Properties

    +
    + +
    checkAlive?: boolean
    +

    Whether the worker starts or stops its aliveness check.

    +
    +
    - +
    data?: Data

    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:50
  • id?: string
    @@ -103,15 +86,15 @@
    +
  • Defined in src/pools/worker.ts:58
  • -
    kill?: 1 | "SOFT" | "HARD"
    +
    kill?: true | "SOFT" | "HARD"

    Kill code.

    +
  • Defined in src/utility-types.ts:63
  • name?: string
    @@ -120,31 +103,39 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    +
  • Defined in src/pools/worker.ts:46
  • +
    + +
    ready?: boolean
    +

    Whether the worker is ready or not.

    -
    - -
    runTime?: number
    -

    Runtime.

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

    Whether the worker computes the given statistics or not.

    -
    - -
    statistics?: WorkerStatistics
    -

    Whether to compute the given statistics or not.

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

    Task error.

    +
    +
    +
    + +
    taskPerformance?: TaskPerformance
    +

    Task performance.

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

    Wait time.

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

    Worker id.

    +
  • Defined in src/pools/worker.ts:42
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file