X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=8f17b1f4ff2ed4e9f32293ecf4862fd26a21e024;hb=b667be1103b9362ae29d094de05f812468464d4f;hp=0baf2719ab665c2f50287c5446cc38c8ec303b1a;hpb=6047493a00c2852f2c7f4329def8e1322c678cf1;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 0baf2719..8f17b1f4 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,4 +1,4 @@ -Task | poolifier
+Task | poolifier - v2.6.8
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.8
    @@ -17,22 +17,24 @@

    Interface Task<Data>Internal

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

    -
    -
    +
    +
    +

    Type Parameters

    -
    +

    Data = unknown

    +

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

    +
    +

    Hierarchy

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

    Properties

    -

    Properties

    -
    - -
    data?: Data
    -

    Input data that will be passed to the worker.

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