X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerNode.html;h=ef41523dc9016928d63ab6aded41956adff1fdbc;hb=73d8141b526469f4fce46da956280f2b9146accb;hp=e9a8013d81ba7fdf0a813f611519a6c7f4b4a060;hpb=aec509b85e7d73e9883c8885e27fc4e34fdaef1e;p=poolifier.git diff --git a/docs/interfaces/WorkerNode.html b/docs/interfaces/WorkerNode.html index e9a8013d..ef41523d 100644 --- a/docs/interfaces/WorkerNode.html +++ b/docs/interfaces/WorkerNode.html @@ -1,4 +1,4 @@ -WorkerNode | poolifier
+WorkerNode | poolifier
+

Interface WorkerNode<Worker, Data>Internal

Worker node interface.

-
+

Type Parameters

-
    +
    • -

      Worker extends IWorker

    • +

      Worker extends IWorker

      +

      Type of worker.

      +
    • -

      Data = unknown

+

Data = unknown

+

Type of data sent to the worker. This can only be serializable data.

+

Hierarchy

  • WorkerNode
+
  • Defined in src/pools/worker.ts:120
  • @@ -38,27 +42,33 @@

    Properties

    -
    - -
    tasksQueue: Task<Data>[]
    +
    -
    tasksUsage: TasksUsage
    -
    - -
    worker: Worker
    +
    + +
    worker: Worker
    +

    Worker node worker.

    +
    +
  • Defined in src/pools/worker.ts:124
  • +

    Theme

    On This Page

    +
  • tasksQueue
  • +
  • tasksUsage
  • +
  • worker
  • +
  • PoolType
  • +
  • AbstractPool
  • +
  • AbstractWorker
  • +
  • CircularArray
  • +
  • ClusterWorker
  • +
  • DynamicClusterPool
  • +
  • DynamicThreadPool
  • +
  • FixedClusterPool
  • +
  • FixedThreadPool
  • +
  • PoolEmitter
  • +
  • Queue
  • +
  • ThreadWorker
  • +
  • WorkerChoiceStrategyContext
  • +
  • ClusterPoolOptions
  • +
  • IPool
  • +
  • IWorker
  • +
  • IWorkerChoiceStrategy
  • +
  • MessageValue
  • +
  • PoolOptions
  • +
  • PromiseResponseWrapper
  • +
  • RequiredStatistics
  • +
  • Task
  • +
  • TasksQueueOptions
  • +
  • TasksUsage
  • +
  • WorkerChoiceStrategyOptions
  • +
  • WorkerNode
  • +
  • WorkerOptions
  • +
  • Draft
  • +
  • ErrorHandler
  • +
  • ExitHandler
  • +
  • KillBehavior
  • +
  • MessageHandler
  • +
  • OnlineHandler
  • +
  • PoolEvent
  • +
  • TaskFunctions
  • +
  • ThreadWorkerWithMessageChannel
  • +
  • WorkerAsyncFunction
  • +
  • WorkerChoiceStrategy
  • +
  • WorkerFunction
  • +
  • WorkerSyncFunction
  • +
  • KillBehaviors
  • +
  • PoolEvents
  • +
  • WorkerChoiceStrategies
  • Generated using TypeDoc

    \ No newline at end of file