X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=6dce4e385d79cd8e46ac60f4d26db1fc08867e6c;hb=6d6c7ed0c2c3c83cefae4d8cd5bc9393126bba70;hp=d9b845fa1c5f5ed6af55eaf12feb42efe29f28a2;hpb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index d9b845fa..6dce4e38 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:54
  • @@ -56,7 +51,6 @@ id? kill? name? -parent? statistics? taskError? taskPerformance? @@ -66,13 +60,13 @@

    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 +75,7 @@
    +
  • Defined in src/pools/worker.ts:55
  • kill?: 1 | "SOFT" | "HARD"
    @@ -89,7 +83,7 @@
    +
  • Defined in src/utility-types.ts:59
  • name?: string
    @@ -98,31 +92,23 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    -
    -
    +
  • Defined in src/pools/worker.ts:43
  • 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:71
  • -
    taskError?: TaskError<Data>
    +
    taskError?: TaskError<ErrorData>

    Task error.

    +
  • Defined in src/utility-types.ts:63
  • taskPerformance?: TaskPerformance
    @@ -130,7 +116,7 @@
    +
  • Defined in src/utility-types.ts:67
  • timestamp?: number
    @@ -139,7 +125,7 @@
    +
  • Defined in src/pools/worker.ts:51
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file