X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FAbstractWorker.html;h=f00a323547454f0876db71577ae008c3999a261d;hb=912e1dfaa2988c8337b3410e7acbaf859afd2212;hp=5cc8e0aecda9b7b5ed585700580039d62423dbdd;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 5cc8e0ae..f00a3235 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
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.
Inherited 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
@@ -125,7 +127,7 @@
-
@@ -138,7 +140,7 @@
Properties
mainWorker: undefined | null | MainWorker
+mainWorker: MainWorker
Reference to main worker.
Properties
+Protected
Abstract
idWorker id.
+Protected
Readonly
is