X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerNode.html;h=f98ed472baa1573411b8f7dd6b03cba2d94a1f19;hb=cf02ff9e146e22a2f99a6af35de7ce49efd4c6b5;hp=7651fc24eb4796e00d623be0d318b80d8260ef76;hpb=c22b117f8593bba575a4385b8f125f14b4bf1099;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 7651fc24..f98ed472 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,13 +1,13 @@ -
Readonly
clearReadonly
clearReadonly
closeReadonly
deleteThe 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
getGets task function worker usage statistics.
Readonly
hasWhether the worker node has back pressure (i.e. its tasks queue is full).
Readonly
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
Deletes task function worker usage statistics.
+