X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerNode.html;h=3d35a014e60ce36deedcef45da6dedd118bca7e9;hb=9895479f30388a3433ff086a406cdff0a41589ad;hp=adc5f93b8e6e0508a62a5c6cb1d303a065ccece7;hpb=85003dff831b309b12d624215a8d67634af82b50;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index adc5f93b..3d35a014 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,13 +1,13 @@ -
Readonly
clearReadonly
clearReadonly
closeReadonly
deleteDeletes task function worker usage statistics.
+The task function name.
+true
if the task function worker usage statistics were deleted, false
otherwise.
Readonly
dequeueReadonly
enqueueEnqueue task.
The task to queue.
The task queue size.
+The tasks queue size.
Readonly
getReadonly
getGets task usage statistics.
+Gets task function worker usage statistics.
The task function name.
+The task function worker usage statistics if the task function worker usage statistics are initialized, undefined
otherwise.
Readonly
hasWhether the worker node has back pressure (i.e. its tasks queue is full).
+true
if the worker node has back pressure, false
otherwise.
Readonly
infoOptional
Readonly
messageMessage 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 .
+Resets 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
Closes communication channel.
+