X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=72d07e7c9300dba1d3bf53ca331e80fe4aa96165;hb=a34454964733f585af19a04f21f9e35eb18c77b1;hp=770c6edb3ea27935d413a1d06fb4d35665240316;hpb=e1230e386080ae19766e2a7863c807a90f13a3ef;p=poolifier.git
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index 770c6edb..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
@@ -57,9 +57,10 @@ but the minimum number of workers will be guaranteed.
Methods
@@ -118,17 +119,25 @@ but the minimum number of workers will be guaranteed.
Overrides AbstractWorker<Worker, Data, Response>.constructor
+Defined in src/worker/cluster-worker.ts:31
Protected
main Worker
main Worker: undefined | null | Worker
@@ -144,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
@@ -303,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
@@ -336,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
@@ -399,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. Main
+Protected
Readonly
isWhether this is the main worker or not.
+Protected
last