X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIWorkerNode.html;h=278faaa7eb385ef44d177c5db1a4f0dcf1cc3e8f;hb=6c1eb4fe2cd787df720581d7db01e0e05943f070;hp=7651fc24eb4796e00d623be0d318b80d8260ef76;hpb=ce9e97f17ed0d1b2928919244dce5a7887f843f5;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 7651fc24..278faaa7 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.
+