X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=20689aea67e14456ca937128416186b3cfd4ac11;hb=2a6631992868d900762f62e4c228dce4e4ee549a;hp=4374c56fd242ab80ad1c65cbe11b1b6a10030d2c;hpb=70353024c44987c467dadcec306c699ce4ae1f06;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 4374c56f..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,46 +42,50 @@

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

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

    Message UUID.

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

    Task name.

    -
    -
    - -
    submissionTimestamp?: number
    -

    Submission timestamp.

    -
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    +
  • Defined in src/pools/worker.ts:51
  • +
  • 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