X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerNode.html;h=13891582ae872541278a431d24fb0d467a717a15;hb=09d9af02a56001cca72aa9678e87f4e7fcac2fe8;hp=7651fc24eb4796e00d623be0d318b80d8260ef76;hpb=ce9e97f17ed0d1b2928919244dce5a7887f843f5;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 7651fc24..13891582 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,13 +1,13 @@ -
Readonly
clearReadonly
clearReadonly
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.
Optional
onCallback invoked when worker node tasks queue is empty.
+Readonly
popReadonly
resetResets usage statistics.
Optional
strategyWorker choice strategy data. +This is used to store data that is specific to the worker choice strategy.
+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
usageWorker usage statistics.
Readonly
workerGenerated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
The task to queue.