repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: ensure tasks redistribution avoid task execution starvation
[poolifier.git]
/
src
/
pools
/
worker.ts
diff --git
a/src/pools/worker.ts
b/src/pools/worker.ts
index b7cd7f6799b9fe5b3c5da9c35be9d417a700c1b7..f1c29b3659a3c1c9da5569fe3f008fe70cfd78df 100644
(file)
--- a/
src/pools/worker.ts
+++ b/
src/pools/worker.ts
@@
-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.
*/