X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FAbstractWorker.html;h=88a14d30474e85cb9245a5b6bb76743a811b50d2;hb=658b9aa08266ed9a8ae3c0fc947d237fa2674f09;hp=5cc8e0aecda9b7b5ed585700580039d62423dbdd;hpb=f45a3823ad04902b4c446c7c7de55ca183041953;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 5cc8e0ae..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.
+ +Performance statistics computation requirements.
Protected
taskPrivate
beginInherited from AsyncResource.bind
Protected
checkPrivate
checkPrivate
checkPrivate
checkInherited from AsyncResource.emitDestroy
Private
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.
Inherited from AsyncResource.runInAsyncScope
Protected
runInput data for the given function.
Protected
Abstract
sendThe response message.
Private
startInherited from AsyncResource.triggerAsyncId
Static
bindInherited from AsyncResource.bind
Generated 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
@@ -73,6 +74,7 @@
begin Task Performance
bind
check Alive
+check Statistics
check Task Functions
check Worker Options
emit Destroy
@@ -85,6 +87,7 @@
run In Async Scope
run Sync
send To Main Worker
+start Check Alive
trigger Async Id
bind
Properties