X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=5b43780771b7d02b392cd33e254b654850027bb1;hb=15d6dfaf877ec6a99e2bde48cb3c8a9e8671c075;hp=34cb5c01448d055daad31d4d29566e4540510d08;hpb=a1e5b51ea192bdcad4751d1f4facc19498ee4f1d;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 34cb5c01..5b437807 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

-
- -
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:55
  • +
    + +
    name?: string
    +

    Task name.

    +
    +
    +
    + +
    submissionTimestamp?: number
    +

    Submission timestamp.

    +
    +
    -

    On This Page

    +

    On This Page

    +
  • data
  • +
  • id
  • +
  • name
  • +
  • submissionTimestamp
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • 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