X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerNode.html;h=24f78d03d5998446b0305047701ee931b791d238;hb=3f690f25c5137aa97b58231b37ac0a5b274b08c7;hp=ebd0f4a3ba3dd73ef33e64eb3db0afe854ff382d;hpb=85bb5e488cb5adb8fef806e1f3fd9f85c525713e;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index ebd0f4a3..24f78d03 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,4 +1,4 @@ -
Readonly
closeReadonly
dequeueReadonly
enqueueThe tasks queue size.
Readonly
getThe task function name.
-The task function worker usage statistics if the task function worker usage statistics are initialized, undefined
otherwise.
Readonly
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.
-