fix: ensure tasks redistribution avoid task execution starvation
[poolifier.git] / src / pools / worker.ts
index b7cd7f6799b9fe5b3c5da9c35be9d417a700c1b7..f1c29b3659a3c1c9da5569fe3f008fe70cfd78df 100644 (file)
@@ -242,6 +242,10 @@ export interface IWorkerNode<Worker extends IWorker, Data = unknown> {
    * Resets usage statistics .
    */
   readonly resetUsage: () => void
+  /**
+   * Close communication channel.
+   */
+  readonly closeChannel: () => void
   /**
    * Gets task worker usage statistics.
    */