X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=c2de721742bc28d1b70dd5d6df903ccd99874250;hb=761b0c73be0bf581f50a78123913f933bd405f52;hp=75ff7d0018581938f837c900b5f63e147c98a2d0;hpb=d6b93f1ae5603949390418b787e0ad51b026f9c5;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 75ff7d00..c2de7217 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -14,9 +14,9 @@ -

Interface MessageValue<Data, MainWorker>

+

Interface MessageValue<Data, MainWorker>Internal

-

Message object that is passed between worker and main worker.

+

Message object that is passed between main worker and worker.

Type Parameters

@@ -32,9 +32,11 @@

Hierarchy

+
  • Defined in src/utility-types.ts:20
  • @@ -42,58 +44,59 @@

    Properties

    -
    +
    data?: Data
    -

    Input data that will be passed to the worker.

    +

    Task input data that will be passed to the worker.

    +
  • Defined in src/pools/worker.ts:42
  • error?: string

    Error.

    -
    +
  • Defined in src/utility-types.ts:31
  • +
    id?: string
    -

    Id of the message.

    +

    UUID of the message.

    +
  • Defined in src/pools/worker.ts:46
  • kill?: 1 | "SOFT" | "HARD"

    Kill code.

    +
  • Defined in src/utility-types.ts:27
  • - +
    parent?: MainWorker

    Reference to main worker.

    -

    Only for internal use.

    +
  • Defined in src/utility-types.ts:39
  • runTime?: number

    Runtime.

    +
  • Defined in src/utility-types.ts:35