X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=48c3d3cb23be0aefe9657f532f50cfdfb734a89d;hb=a6b5c73ccccb3ef0ccc24ad462182e3cacee77b4;hp=0939716b74dbc2a18495a91607ebb65e78e58962;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index 0939716b..48c3d3cb 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,4 +1,4 @@ -Task | poolifier
+Task | poolifier - v2.6.9
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.9
    @@ -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:38
  • @@ -40,46 +42,50 @@

    Properties

    - +
    data?: Data

    Task input data that will be passed to the worker.

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

    Message UUID.

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

    Task name.

    -
    -
    - -
    submissionTimestamp?: number
    -

    Submission timestamp.

    -
    +
    + +
    timestamp?: number
    +

    Timestamp.

    +
    +
    +
  • Defined in src/pools/worker.ts:50
  • +
  • data
  • +
  • id
  • +
  • name
  • +
  • timestamp
  • +
  • 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