X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=36a3f7582c4f2628505891109ec2575f9ab28a96;hb=0e16e60a89029abe61cda7ba293c036298cced05;hp=e56240d2b3fd08208730519bd1074b32d75e65d3;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index e56240d2..36a3f758 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -MessageValue | poolifier
+MessageValue | poolifier - v2.6.26
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.26
    @@ -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:99
  • @@ -47,104 +47,114 @@

    Properties

    +
    + +
    checkActive?: boolean
    +

    Whether the worker starts or stops its activity check.

    +
    +
    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    - -
    elu?: EventLoopUtilization
    -

    Event loop utilization.

    +
  • Defined in src/utility-types.ts:77
  • +
    + +
    kill?: true | "success" | "SOFT" | "HARD" | "failure"
    +

    Kill code.

    -
    - -
    error?: string
    -

    Task error.

    +
  • Defined in src/utility-types.ts:104
  • +
    + +
    name?: string
    +

    Task name.

    -
    - -
    errorData?: unknown
    -

    Task data triggering task error.

    +
  • Defined in src/utility-types.ts:73
  • +
    + +
    port?: MessagePort
    +

    Message port.

    -
    - -
    id?: string
    -

    Message UUID.

    +
  • Defined in src/utility-types.ts:132
  • +
    + +
    ready?: boolean
    +

    Whether the worker is ready or not.

    -
    - -
    kill?: 1 | "SOFT" | "HARD"
    -

    Kill code.

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

    Whether the worker computes the given statistics or not.

    -
    - -
    name?: string
    -

    Task name.

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

    Task error.

    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    +
  • Defined in src/utility-types.ts:108
  • +
    + +
    taskFunctions?: string[]
    +

    Task function names.

    -
    - -
    runTime?: number
    -

    Runtime.

    +
  • Defined in src/utility-types.ts:116
  • +
    + +
    taskId?: string
    +

    Task UUID.

    -
    - -
    statistics?: WorkerStatistics
    -

    Whether to compute the given statistics or not.

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

    Task performance.

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

    Wait time.

    +
  • Defined in src/utility-types.ts:85
  • +
    + +
    transferList?: TransferListItem[]
    +

    Array of transferable objects.

    +
    +
    +
    + +
    workerId: number
    +

    Worker id.

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

    \ No newline at end of file