X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerNode.html;h=2dd42be27714a254bf23f4877ebf54a7cacf8cbb;hb=b9da9d7e74c720f83482a09d1b883fc83d04f4ed;hp=7651fc24eb4796e00d623be0d318b80d8260ef76;hpb=c22b117f8593bba575a4385b8f125f14b4bf1099;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 7651fc24..2dd42be2 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,4 +1,4 @@ -
Readonly
closeReadonly
dequeueReadonly
enqueueThe task queue size.
+ +The 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.
+The worker id.
+Optional
onCallback invoked when worker node tasks queue is empty.
+The worker id.
+Readonly
popReadonly
resetResets 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
workerGenerated using TypeDoc
Generated using TypeDoc
\ No newline at end of file
The task to queue.
-