X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerNode.html;h=256667693fd302d3b023029cd8647fe1a2449677;hb=4ccb689a9b715ae55696e2336ea4092346fa69d9;hp=78d729cb80f58ea960ab175778321344ea130de5;hpb=a47027a0bf90ce21b528708dadd0eb23b5537b43;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 78d729cb..25666769 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,4 +1,4 @@ -
Readonly
closeReadonly
dequeueReadonly
enqueueThe task to queue.
-The task queue size.
+ +The tasks queue size.
Readonly
getReadonly
getGets task worker 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.
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
Close communication channel.
+Closes communication channel.
Returns void