X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=36a3f7582c4f2628505891109ec2575f9ab28a96;hb=0e16e60a89029abe61cda7ba293c036298cced05;hp=d9b845fa1c5f5ed6af55eaf12feb42efe29f28a2;hpb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index d9b845fa..36a3f758 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -MessageValue | poolifier
+MessageValue | poolifier - v2.6.26
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.26
    @@ -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:99
  • @@ -52,44 +47,48 @@

    Properties

    -
    - -
    data?: MessageData
    -

    Task input data that will be passed to the worker.

    +
    + +
    checkActive?: boolean
    +

    Whether the worker starts or stops its activity check.

    -
    - -
    id?: string
    -

    Message UUID.

    +
  • Defined in src/utility-types.ts:128
  • +
    + +
    data?: Data
    +

    Task input data that will be passed to the worker.

    +
  • Defined in src/utility-types.ts:77
  • -
    kill?: 1 | "SOFT" | "HARD"
    +
    kill?: true | "success" | "SOFT" | "HARD" | "failure"

    Kill code.

    +
  • Defined in src/utility-types.ts:104
  • name?: string
    @@ -98,31 +97,56 @@
    -
    - -
    parent?: MainWorker
    -

    Reference to main worker.

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

    Message port.

    +
    +
    +
    + +
    ready?: boolean
    +

    Whether the worker is ready or not.

    +
  • Defined in src/utility-types.ts:124
  • 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:120
  • -
    taskError?: TaskError<Data>
    +
    taskError?: TaskError<ErrorData>

    Task error.

    +
  • Defined in src/utility-types.ts:108
  • +
    + +
    taskFunctions?: string[]
    +

    Task function names.

    +
    +
    +
    + +
    taskId?: string
    +

    Task UUID.

    +
    +
    taskPerformance?: TaskPerformance
    @@ -130,7 +154,7 @@
    +
  • Defined in src/utility-types.ts:112
  • timestamp?: number
    @@ -139,7 +163,25 @@
    +
  • Defined in src/utility-types.ts:85
  • +
    + +
    transferList?: TransferListItem[]
    +

    Array of transferable objects.

    +
    +
    +
    + +
    workerId: number
    +

    Worker id.

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

    \ No newline at end of file