X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=018ff8e133bdb82d04e495b43b2752d59a30a36f;hb=a6d9dccfaf39e185c896747260d668fcb683a8ed;hp=d9b845fa1c5f5ed6af55eaf12feb42efe29f28a2;hpb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index d9b845fa..018ff8e1 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,15 +92,7 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

    -
    -
    +
  • Defined in src/pools/worker.ts:43
  • statistics?: WorkerStatistics
    @@ -114,15 +100,15 @@
    +
  • 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