X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FAbstractWorker.html;h=85ce5f923e7f201eedb0bf2af874cdf0d9688068;hb=c1f5e413e6417049835904bb902890defafee5d2;hp=8b51155b99febefc6bd23eaf7c2057d5f1daa080;hpb=aac8863d208eadcb0ecb33dc44d045c26f5a444f;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 8b51155b..85ce5f92 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Protected
lastProtected
mainProtected
Readonly
mainReference to main worker.
Protected
Readonly
optsProtected
statisticsPerformance statistics computation.
+Performance statistics computation requirements.
Protected
taskPrivate
beginProtected
checkPrivate
checkChecks if the worker should be terminated, because its living too long.
@@ -255,7 +268,15 @@Private
checkPrivate
checkPrivate
checkPrivate
endProtected
getPrivate
getProtected
handleThe error raised by the worker.
Message of the error.
+The error message.
Protected
messageMessage received.
Protected
runInput data for the given function.
Protected
runInput data for the given function.
Protected
Abstract
sendThe response message.
Private
startPrivate
stopProtected
workerStatic
bindGenerated using TypeDoc
Type of data this worker receives from pool's execution. This can only be serializable data.
+Type of data this worker receives from pool's execution. This can only be structured-cloneable data.
Response = unknown
-Type of response the worker sends back to the main worker. This can only be serializable data.
+Type of response the worker sends back to the main worker. This can only be structured-cloneable data.
@@ -60,6 +60,7 @@
alive Interval?
+id
is Main
last Task Timestamp
main Worker
@@ -72,7 +73,8 @@
async Id
begin Task Performance
bind
-check Alive
+check Alive
+check Statistics
check Task Functions
check Worker Options
emit Destroy
@@ -85,7 +87,10 @@
run In Async Scope
run Sync
send To Main Worker
+start Check Alive
+stop Check Alive
trigger Async Id
+worker Ready
bind
Properties
mainWorker: undefined | null | MainWorker
+mainWorker: MainWorker
Reference to main worker.
Properties
Interval
+Protected
Optional
Readonly
aliveProtected
Optional
aliveHandler id of the
aliveInterval
worker alive check.
+Protected
Abstract
idWorker id.
+Protected
Readonly
is