X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FThreadWorker.html;h=3b326741c067332b105175214f30848b332e2b9d;hb=ffc8d14415d44de881ee66ee60fc74da48084976;hp=aeec6f709fa14386e0e15ea9145bb7a1c54dc76c;hpb=b4d61a7596f314145be453ddbcaa9b0dade39bfb;p=poolifier.git
diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html
index aeec6f70..3b326741 100644
--- a/docs/classes/ThreadWorker.html
+++ b/docs/classes/ThreadWorker.html
@@ -44,7 +44,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/thread-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<MessagePort, Data, Response>.constructor
+Defined in src/worker/thread-worker.ts:31
Protected
main Worker
main Worker: undefined | null | MessagePort
@@ -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
+Defined in src/worker/abstract-worker.ts:161
Protected
message Listener
-message Listener( value: MessageValue < Data , MessagePort > , fn: ( ( data: Data ) => Response ) ) : void
+message Listener( message: MessageValue < Data , MessagePort > , fn: ( ( data: Data ) => Response ) ) : void
+
Parameters
-value: MessageValue < Data , MessagePort >
+message: MessageValue < Data , MessagePort >
+
fn: ( ( data: Data ) => Response )
+
+ Defined in src/worker/abstract-worker.ts:84
Protected
run
-run( fn: ( ( data?: Data ) => Response ) , value: MessageValue < Data , unknown > ) : void
+run( fn: ( ( data?: Data ) => Response ) , message: MessageValue < Data , unknown > ) : void
@@ -307,17 +322,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
@@ -340,13 +355,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
@@ -403,8 +418,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