X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=1a02f73f64ed01afcc1584529294cc0590bf6565;hb=71056a0ac555e096c1428d6341ef45c7980a6332;hp=219826f261c4df1c99c5a2e04411ddd7024d4428;hpb=e1d3eccbb484bfbe36f6dcb9c4ef22a11621a00b;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 219826f2..1a02f73f 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,4 +1,4 @@ -Task | poolifier
+Task | poolifier

Message object that is passed as a task between main worker and worker.

-
-
+
+
+

Type Parameters

-
    +
    • -

      Data = unknown

      +

      Data = unknown

      Type of data sent to the worker. This can only be serializable data.

      -
+ +

Hierarchy

@@ -40,30 +42,50 @@

Properties

-

Properties

-
- -
data?: Data
+
+ +
data?: Data

Task input data that will be passed to the worker.

-
-
- -
id?: string
-

UUID of the message.

-
+
+ +
id?: string
+

Message UUID.

+
+
+
  • Defined in src/pools/worker.ts:56
  • +
    + +
    name?: string
    +

    Task name.

    +
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    -

    On This Page

    +

    On This Page

    +
  • data
  • +
  • id
  • +
  • name
  • +
  • timestamp
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • Task
  • +
  • TaskPerformance
  • +
  • TaskStatistics
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • ThreadPoolOptions
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • WorkerStatistics
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • Generated using TypeDoc

    \ No newline at end of file