X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerNode.html;h=3d35a014e60ce36deedcef45da6dedd118bca7e9;hb=222e961327beb03ab327a93dd4ff6ca47b0c51f2;hp=227c19ad98cfa21a8e0395d5b1fa16239db7bee3;hpb=010ae1ba98e5ab018fa09870982d511c9389b48b;p=poolifier.git
diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html
index 227c19ad..3d35a014 100644
--- a/docs/interfaces/IWorkerNode.html
+++ b/docs/interfaces/IWorkerNode.html
@@ -1,13 +1,13 @@
-
IWorkerNode | poolifier - v2.6.37
@@ -37,16 +37,17 @@
+
Defined in src/pools/worker.ts:226
- Index
+ Index
Properties
-clearTasksQueue
+
+
Defined in src/pools/worker.ts:310
+
+Readonly
deleteTaskFunctionWorkerUsage
+deleteTaskFunctionWorkerUsage: ((name) => boolean)
+
Readonly
dequeueTask
dequeueTask: (() => undefined | Task<Data>)
@@ -105,7 +132,7 @@
-
-- (): undefined | Task<Data>
+- (): undefined | Task<Data>
-
@@ -113,7 +140,7 @@
+
Defined in src/pools/worker.ts:286
Readonly
enqueueTask
enqueueTask: ((task) => number)
@@ -122,7 +149,7 @@
-
-- (task): number
+- (task): number
-
@@ -132,12 +159,13 @@
-
task: Task<Data>
+
+
Returns number
The tasks queue size.
+Defined in src/pools/worker.ts:273
Readonly
getTaskFunctionWorkerUsage
getTaskFunctionWorkerUsage: ((name) => undefined | WorkerUsage)
@@ -146,7 +174,7 @@
The task function worker usage statistics if the task function worker usage statistics are initialized, undefined
otherwise.
+Defined in src/pools/worker.ts:317
Readonly
hasBackPressure
hasBackPressure: (() => boolean)
@@ -170,7 +199,7 @@
-
-- (): boolean
+- (): boolean
-
@@ -178,7 +207,7 @@
+Defined in src/pools/worker.ts:302
Readonly
info
@@ -186,7 +215,7 @@
+Defined in src/pools/worker.ts:234
Optional
Readonly
messageChannel
messageChannel?: MessageChannel
@@ -194,27 +223,23 @@
+Defined in src/pools/worker.ts:247
Optional
onBackPressure
-
+Defined in src/pools/worker.ts:256
+Defined in src/pools/worker.ts:260
Readonly
popTask
popTask: (() => undefined | Task<Data>)
@@ -223,7 +248,7 @@
-
-- (): undefined | Task<Data>
+- (): undefined | Task<Data>
-
@@ -231,7 +256,7 @@
+Defined in src/pools/worker.ts:292
Readonly
resetUsage
resetUsage: (() => void)
@@ -240,14 +265,23 @@
-
-- (): void
+- (): void
-
Returns void
+Defined in src/pools/worker.ts:306
+
+Optional
strategyData
+
+
+
tasksQueueBackPressureSize
tasksQueueBackPressureSize: number
@@ -256,7 +290,7 @@ This is the number of tasks that can be enqueued before the worker node has back
+Defined in src/pools/worker.ts:252
Readonly
tasksQueueSize
tasksQueueSize: (() => number)
@@ -265,7 +299,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (): number
+- (): number
-
@@ -273,7 +307,7 @@ This is the number of tasks that can be enqueued before the worker node has back
+Defined in src/pools/worker.ts:266
Readonly
unshiftTask
unshiftTask: ((task) => number)
@@ -282,7 +316,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (task): number
+- (task): number
-
@@ -292,20 +326,21 @@ This is the number of tasks that can be enqueued before the worker node has back
-
task: Task<Data>
+
+
Returns number
The tasks queue size.
+Defined in src/pools/worker.ts:280
+Defined in src/pools/worker.ts:238
Readonly
worker
worker: Worker
@@ -313,20 +348,20 @@ This is the number of tasks that can be enqueued before the worker node has back
+Defined in src/pools/worker.ts:230
+
-
\ No newline at end of file
+
\ No newline at end of file
Deletes task function worker usage statistics.
+