X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=8f5cbc5f16d59f0ff44a15c63a171a84d7f64f94;hb=76b46937556ea55049d5c413aa0a77d0c7f47f48;hp=ba77a3c678a11c07c438bc7a36b60edaf4454574;hpb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index ba77a3c6..8f5cbc5f 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -MessageValue | poolifier
+MessageValue | poolifier - v2.6.19
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.19
    @@ -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:96
  • @@ -47,44 +47,38 @@

    Properties

    +
    + +
    checkActive?: boolean
    +

    Whether the worker starts or stops its activity check.

    +
    +
    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    - -
    error?: string
    -

    Task error.

    -
    -
    -
    - -
    errorData?: unknown
    -

    Task data triggering task error.

    -
    -
    +
  • Defined in src/utility-types.ts:78
  • id?: string
    @@ -93,15 +87,15 @@
    +
  • Defined in src/utility-types.ts:86
  • -
    kill?: 1 | "SOFT" | "HARD"
    +
    kill?: true | "SOFT" | "HARD"

    Kill code.

    +
  • Defined in src/utility-types.ts:101
  • name?: string
    @@ -110,40 +104,65 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

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

    Message port.

    +
    +
    +
    + +
    ready?: boolean
    +

    Whether the worker is ready or not.

    +
    +
    +
    + +
    statistics?: WorkerStatistics
    +

    Whether the worker computes the given statistics or not.

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

    Task error.

    -
    - -
    runTime?: number
    -

    Runtime.

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

    Task performance.

    -
    - -
    submissionTimestamp?: number
    -

    Submission timestamp.

    +
  • Defined in src/utility-types.ts:109
  • +
    + +
    timestamp?: number
    +

    Timestamp.

    -
    - -
    waitTime?: number
    -

    Wait time.

    +
  • Defined in src/utility-types.ts:82
  • +
    + +
    workerId: number
    +

    Worker id.

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

    \ No newline at end of file