X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=6e0652cbe66342dcb904d5c45e60f49bbc6fe3e9;hb=08e40091fb1d27284ffcdfaced81292139a02c55;hp=e09f8a6e5e017c19f14ed746ac29d1a1131a50bf;hpb=3a592a1254b999797590d1b54662b747eed17528;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index e09f8a6e..6e0652cb 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,4 +1,4 @@ -Task | poolifier
+Task | poolifier - v2.6.13
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.13
    @@ -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/utility-types.ts:65
  • @@ -40,30 +42,59 @@

    Properties

    -

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

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

    UUID of the message.

    -
    +
  • Defined in src/utility-types.ts:85
  • +
    + +
    name?: string
    +

    Task name.

    +
    +
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    +
    + +
    workerId: number
    +

    Worker id.

    +
    +
    +
  • data
  • +
  • id
  • +
  • name
  • +
  • timestamp
  • +
  • workerId
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • EventLoopUtilizationMeasurementStatistics
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • IWorkerNode
  • +
  • MeasurementOptions
  • +
  • MeasurementStatistics
  • +
  • MeasurementStatisticsRequirements
  • +
  • MessageValue
  • +
  • PoolInfo
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • StrategyPolicy
  • +
  • Task
  • +
  • TaskError
  • +
  • TaskPerformance
  • +
  • TaskStatistics
  • +
  • TaskStatisticsRequirements
  • +
  • TasksQueueOptions
  • +
  • ThreadPoolOptions
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerInfo
  • +
  • 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