X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FMessageValue.html;h=e1b26e2219c2290161807d63216c97adb2d3b0b0;hb=3bd6a82e43e11294af91bbd19647944ac740169e;hp=739ae0839c86e0c4aa71ce31eae4081d1d280fae;hpb=1d6ec394e8f7467f72baeb74dda4794fdc5ab322;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index 739ae083..e1b26e22 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,4 +1,4 @@ -MessageValue | poolifier
+MessageValue | poolifier
+

Interface MessageValue<Data, MainWorker>Internal

Message object that is passed between main worker and worker.

@@ -22,21 +22,21 @@

Type Parameters

Hierarchy

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

    Properties

    -
    +
    -
    data?: Data
    -

    Input data that will be passed to the worker.

    +
    data?: Data
    +

    Task input data that will be passed to the worker.

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

    Error.

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

    UUID of the message.

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

    Kill code.

    -
    - -
    parent?: MainWorker
    +
  • 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?: number

    Runtime.

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

    Theme

    On This Page

    +
  • data
  • +
  • error
  • +
  • id
  • +
  • kill
  • +
  • parent
  • +
  • runTime
  • +
  • PoolType
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • WorkerChoiceStrategies
  • Generated using TypeDoc

    \ No newline at end of file