Interface WorkerNode<Worker, Data>Internal

Worker node interface.

Type Parameters

  • Worker extends IWorker

    Type of worker.

  • Data = unknown

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

Hierarchy

  • WorkerNode

Properties

tasksQueue: Queue<Task<Data>>

Worker node tasks queue.

tasksUsage: TasksUsage

Worker node tasks usage statistics.

worker: Worker

Worker node worker.

Generated using TypeDoc