X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerNode.html;h=278faaa7eb385ef44d177c5db1a4f0dcf1cc3e8f;hb=6c7d45d0e98d9849cfa99fe8d0aa567c989d049f;hp=46ec8a130b85a8af80f151891ea1e98fe0e033dd;hpb=8481e318ad9225134cde44c1ccdbb2e9166aaf15;p=poolifier.git
diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html
index 46ec8a13..278faaa7 100644
--- a/docs/interfaces/IWorkerNode.html
+++ b/docs/interfaces/IWorkerNode.html
@@ -1,13 +1,13 @@
-
IWorkerNode | poolifier - v2.6.41
@@ -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>)
@@ -106,7 +132,7 @@
-
-- (): undefined | Task<Data>
+- (): undefined | Task<Data>
-
@@ -114,7 +140,7 @@
+
Defined in src/pools/worker.ts:286
Readonly
enqueueTask
enqueueTask: ((task) => number)
@@ -123,7 +149,7 @@
-
-- (task): number
+- (task): number
-
@@ -133,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)
@@ -147,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)
@@ -171,7 +199,7 @@
-
-- (): boolean
+- (): boolean
-
@@ -179,7 +207,7 @@
+Defined in src/pools/worker.ts:302
Readonly
info
@@ -187,7 +215,7 @@
+Defined in src/pools/worker.ts:234
Optional
Readonly
messageChannel
messageChannel?: MessageChannel
@@ -195,7 +223,7 @@
+Defined in src/pools/worker.ts:247
Optional
onBackPressure
@@ -203,7 +231,7 @@
+Defined in src/pools/worker.ts:256
Optional
onEmptyQueue
@@ -211,7 +239,7 @@
+Defined in src/pools/worker.ts:260
Readonly
popTask
popTask: (() => undefined | Task<Data>)
@@ -220,7 +248,7 @@
-
-- (): undefined | Task<Data>
+- (): undefined | Task<Data>
-
@@ -228,7 +256,7 @@
+Defined in src/pools/worker.ts:292
Readonly
resetUsage
resetUsage: (() => void)
@@ -237,23 +265,23 @@
-
-- (): void
+- (): void
-
Returns void
+Defined in src/pools/worker.ts:306
Optional
strategyData
-strategyData?: StrategyData
+
+Defined in src/pools/worker.ts:243
tasksQueueBackPressureSize
tasksQueueBackPressureSize: number
@@ -262,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)
@@ -271,7 +299,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (): number
+- (): number
-
@@ -279,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)
@@ -288,7 +316,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (task): number
+- (task): number
-
@@ -298,12 +326,13 @@ 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
Readonly
usage
@@ -311,7 +340,7 @@ This is the number of tasks that can be enqueued before the worker node has back
+Defined in src/pools/worker.ts:238
Readonly
worker
worker: Worker
@@ -319,12 +348,12 @@ 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.
+