X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=54e9c651051cd5757367659d42ecbee076778d3b;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=22b41b087efd60e7a76e3644a9a0d0e0e9b75e39;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 22b41b08..54e9c651 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -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:62
  • @@ -56,23 +51,24 @@ id? kill? name? -parent? +started? statistics? taskError? taskPerformance? timestamp? +workerId?

    Properties

    -
    data?: MessageData
    +
    data?: Data

    Task input data that will be passed to the worker.

    +
  • Defined in src/pools/worker.ts:47
  • id?: string
    @@ -81,7 +77,7 @@
    +
  • Defined in src/pools/worker.ts:55
  • kill?: 1 | "SOFT" | "HARD"
    @@ -89,7 +85,7 @@
    +
  • Defined in src/utility-types.ts:71
  • name?: string
    @@ -98,31 +94,31 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

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

    Whether the worker has started or not.

    +
  • 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.

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

    Task error.

    +
  • Defined in src/utility-types.ts:75
  • taskPerformance?: TaskPerformance
    @@ -130,7 +126,7 @@
    +
  • Defined in src/utility-types.ts:79
  • timestamp?: number
    @@ -139,7 +135,15 @@
    +
  • Defined in src/pools/worker.ts:51
  • +
    + +
    workerId?: number
    +

    Worker id.

    +
    +
    +
  • timestamp
  • +
  • workerId
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file