X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=8f5cbc5f16d59f0ff44a15c63a171a84d7f64f94;hb=76b46937556ea55049d5c413aa0a77d0c7f47f48;hp=7eea515565d6cc48dfe6d446c2b0b7a4ab79c89f;hpb=6be0ab6d5c78c8e91cc4668d3d03db95f15cbfab;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 7eea5155..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<MessageData, Data, MainWorker>Internal

    +

    Interface MessageValue<Data, ErrorData>Internal

    Message object that is passed between main worker and worker.

    @@ -23,28 +23,23 @@

    Type Parameters

    Hierarchy

    +
  • Defined in src/utility-types.ts:96
  • @@ -52,27 +47,38 @@

    Properties

    +
    + +
    checkActive?: boolean
    +

    Whether the worker starts or stops its activity check.

    +
    +
    - -
    data?: MessageData
    + +
    data?: Data

    Task input data that will be passed to the worker.

    +
  • Defined in src/utility-types.ts:78
  • id?: string
    @@ -81,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
    @@ -98,31 +104,39 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

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

    Message port.

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

    Whether the worker is ready or not.

    +
    +
    statistics?: WorkerStatistics
    -

    Whether to compute the given statistics or not.

    +

    Whether the worker computes the given statistics or not.

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

    Task error.

    +
  • Defined in src/utility-types.ts:105
  • taskPerformance?: TaskPerformance
    @@ -130,7 +144,7 @@
    +
  • Defined in src/utility-types.ts:109
  • timestamp?: number
    @@ -139,7 +153,16 @@
    +
  • Defined in src/utility-types.ts:82
  • +
    + +
    workerId: number
    +

    Worker id.

    +
    +
    +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file