X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIWorkerNode.html;h=3d35a014e60ce36deedcef45da6dedd118bca7e9;hb=c6c8dcf68b2d4e21215ce421c5632fe93e1e8a3e;hp=7f7dad3c89e7a8388105d6642903ae1ef2c809c9;hpb=323daa7f98fd16385379e4b6e8def0a9a3f140c8;p=poolifier.git
diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html
index 7f7dad3c..3d35a014 100644
--- a/docs/interfaces/IWorkerNode.html
+++ b/docs/interfaces/IWorkerNode.html
@@ -1,13 +1,13 @@
-
IWorkerNode | poolifier - v2.6.36
@@ -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,53 +223,23 @@
+Defined in src/pools/worker.ts:247
Optional
onBackPressure
-onBackPressure?: ((workerId) => void)
-
-
Type declaration
-
--
-
-- (workerId): void
--
+
-
-
Returns void
-
+Defined in src/pools/worker.ts:256
Optional
onEmptyQueue
-onEmptyQueue?: ((workerId) => void)
-
-
Type declaration
-
--
-
-- (workerId): void
--
+
-
-
Returns void
-
+Defined in src/pools/worker.ts:260
Readonly
popTask
popTask: (() => undefined | Task<Data>)
@@ -249,7 +248,7 @@
-
-- (): undefined | Task<Data>
+- (): undefined | Task<Data>
-
@@ -257,7 +256,7 @@
+Defined in src/pools/worker.ts:292
Readonly
resetUsage
resetUsage: (() => void)
@@ -266,14 +265,23 @@
-
-- (): void
+- (): void
-
Returns void
+Defined in src/pools/worker.ts:306
+
+Optional
strategyData
+
+
+
tasksQueueBackPressureSize
tasksQueueBackPressureSize: number
@@ -282,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)
@@ -291,7 +299,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (): number
+- (): number
-
@@ -299,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)
@@ -308,7 +316,7 @@ This is the number of tasks that can be enqueued before the worker node has back
-
-- (task): number
+- (task): number
-
@@ -318,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
@@ -339,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.
+