X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=20689aea67e14456ca937128416186b3cfd4ac11;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=e8b56a386a74fa57c5f253646405c9f5b8506809;hpb=557991e8ddb66a72a47d62606e142e8be86677f2;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index e8b56a38..20689aea 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -17,14 +17,16 @@

Interface Task<Data>Internal

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

-
+ +

Type Parameters

+

Type of data sent to the worker. This can only be structured-cloneable data.

+
+

Hierarchy

+
  • Defined in src/pools/worker.ts:39
  • @@ -40,30 +42,50 @@

    Properties

    -

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

    -
    +
  • Defined in src/pools/worker.ts:47
  • - +
    id?: string
    -

    UUID of the message.

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

    Task name.

    +
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    +
  • data
  • +
  • id
  • +
  • name
  • +
  • timestamp
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • EventLoopUtilizationMeasurementStatistics
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MeasurementOptions
  • +
  • MeasurementStatistics
  • +
  • MeasurementStatisticsRequirements
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • StrategyPolicy
  • +
  • Task
  • +
  • TaskError
  • +
  • TaskPerformance
  • +
  • TaskStatistics
  • +
  • TaskStatisticsRequirements
  • +
  • TasksQueueOptions
  • +
  • ThreadPoolOptions
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerInfo
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • WorkerStatistics
  • +
  • WorkerUsage
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • Measurement
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • PoolType
  • +
  • TaskFunctions
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • WorkerType
  • +
  • KillBehaviors
  • +
  • Measurements
  • +
  • PoolEvents
  • +
  • PoolTypes
  • +
  • WorkerChoiceStrategies
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file