X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerNode.html;h=d5a723bc00f309e8c2ab8e77fcfeb19efeb769b7;hb=a84c4698b83aaa02b9f10e52aa9c76eff5b5871f;hp=7651fc24eb4796e00d623be0d318b80d8260ef76;hpb=ce9e97f17ed0d1b2928919244dce5a7887f843f5;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 7651fc24..d5a723bc 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,4 +1,4 @@ -
Readonly
closeReadonly
dequeueReadonly
enqueueThe task queue size.
+The tasks queue size.
Readonly
getReadonly
hasReadonly
infoOptional
Readonly
messageMessage channel.
+Message channel (worker_threads only).
Optional
onCallback invoked when worker node tasks queue is back pressured.
+The worker id.
+Optional
onCallback invoked when worker node tasks queue is empty.
+The worker id.
+Readonly
popReadonly
resetResets usage statistics.
Tasks queue back pressure size. +This is the number of tasks that can be enqueued before the worker node has back pressure.
+Readonly
tasksTasks queue size.
Readonly
unshiftPrepends a task to the tasks queue.
+The task to prepend.
+The tasks queue size.
+ +Readonly
worker
The task to queue.