X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=040d7c3e92338bb3bd24415e99f8a5a44b1bd4a8;hb=a34454964733f585af19a04f21f9e35eb18c77b1;hp=1f036a58e2c442feed43f4d8d4142eb7151f7bac;hpb=fa6436344997918dbda3e94063b4c2e2e4a892c3;p=poolifier.git
diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html
index 1f036a58..040d7c3e 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
@@ -119,17 +119,17 @@ but the minimum number of workers will be guaranteed.
Overrides AbstractWorker<MessagePort, Data, Response>.constructor
+Defined in src/worker/thread-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 | MessagePort
@@ -153,7 +153,7 @@ but the minimum number of workers will be guaranteed.
+Defined in src/worker/abstract-worker.ts:45
Protected
Readonly
opts
@@ -161,7 +161,7 @@ but the minimum number of workers will be guaranteed.
+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
@@ -316,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
@@ -349,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
+Defined in src/worker/thread-worker.ts:36
Handler Id of the
+aliveInterval
worker alive check.Handler id of the
aliveInterval
worker alive check.Protected
Readonly
is