X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FThreadWorker.html;h=3b326741c067332b105175214f30848b332e2b9d;hb=ffc8d14415d44de881ee66ee60fc74da48084976;hp=162fb1cfed453e2c4ee517953d2e7722195bea19;hpb=ba92b02f642f229cb927ab526148f10107831471;p=poolifier.git
diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html
index 162fb1cf..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
Methods
@@ -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,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
@@ -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
run In Async Scope
@@ -412,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.Protected
Readonly
is