X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FAbstractWorker.html;h=88a14d30474e85cb9245a5b6bb76743a811b50d2;hb=658b9aa08266ed9a8ae3c0fc947d237fa2674f09;hp=c4da792dfd210020c6d059c52cf65adc5eb494aa;hpb=8d20e449d72975f6add9177d1097d5a204d14f71;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index c4da792d..88a14d30 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Reference to main worker.
Protected
Optional
Readonly
aliveProtected
Optional
aliveHandler id of the aliveInterval
worker alive check.
Protected
Abstract
idWorker id.
+Protected
Readonly
isProtected
lastProtected
mainProtected
Readonly
mainReference to main worker.
Protected
Readonly
optsProtected
statisticsPerformance statistics computation requirements.
+Protected
taskPrivate
beginProtected
checkPrivate
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
startStatic
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,20 +60,25 @@
alive Interval?
+id
is Main
last Task Timestamp
main Worker
opts
+statistics
task Functions
async Id
+begin Task Performance
bind
check Alive
+check Statistics
check Task Functions
check Worker Options
emit Destroy
+end Task Performance
get Main Worker
get Task Function
handle Error
@@ -82,6 +87,7 @@
run In Async Scope
run Sync
send To Main Worker
+start Check Alive
trigger Async Id
bind
Properties
Methods