X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=72d07e7c9300dba1d3bf53ca331e80fe4aa96165;hb=a34454964733f585af19a04f21f9e35eb18c77b1;hp=4fec31f32355f789c6da670d4b64f96303738da3;hpb=0770fe626b2bb3212a1d73fa4764973ac92e241a;p=poolifier.git
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index 4fec31f3..72d07e7c 100644
--- a/docs/classes/ClusterWorker.html
+++ b/docs/classes/ClusterWorker.html
@@ -44,7 +44,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/cluster-worker.ts:21
Methods
@@ -119,17 +119,17 @@ but the minimum number of workers will be guaranteed.
Overrides AbstractWorker<Worker, Data, Response>.constructor
+Defined in src/worker/cluster-worker.ts:31
Protected
last Task Timestamp
last Task Timestamp: number
@@ -145,7 +145,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:27
Protected
main Worker
main Worker: undefined | null | Worker
@@ -153,15 +153,15 @@ but the minimum number of workers will be guaranteed.
-
+
+Protected
Readonly
opts
+
+Defined in src/worker/abstract-worker.ts:46
+Defined in src/worker/abstract-worker.ts:129
Protected
handle Error
handle Error( e: string | Error ) : string
-
+
Parameters
+
Defined in src/worker/cluster-worker.ts:47
Protected
message Listener
-message Listener( value: MessageValue < Data , Worker > , fn: ( ( data: Data ) => Response ) ) : void
+message Listener( message: MessageValue < Data , Worker > , fn: ( ( data: Data ) => Response ) ) : void
+
Parameters
Protected
run
-run( fn: ( ( data?: Data ) => Response ) , value: MessageValue < Data , unknown > ) : void
+run( fn: ( ( data?: Data ) => Response ) , message: MessageValue < Data , unknown > ) : void
@@ -312,17 +318,17 @@ never be called.
Optional
data: Data
Returns Response
-value: MessageValue < Data , unknown >
+message: MessageValue < Data , unknown >
Returns void
+Defined in src/worker/abstract-worker.ts:171
Protected
run Async
-run Async( fn: ( ( data?: Data ) => Promise < Response > ) , value: MessageValue < Data , unknown > ) : void
+run Async( fn: ( ( data?: Data ) => Promise < Response > ) , message: MessageValue < Data , unknown > ) : void
@@ -345,13 +351,13 @@ never be called.
Optional
data: Data
Returns Promise < Response >
-value: MessageValue < Data , unknown >
+message: MessageValue < Data , unknown >
Returns void
+Defined in src/worker/abstract-worker.ts:198
run In Async Scope
@@ -408,8 +414,8 @@ then restore the original execution context.
send To Main Worker( message: MessageValue < Response , unknown > ) : void
-
+
Handler Id of the
+aliveInterval
worker alive check.Handler id of the
aliveInterval
worker alive check.Protected
Readonly
is