X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=2a3a2826bb865cf40d388aba7a8446967e69566a;hb=5497d426557f576e3ee314619f83b71685acc6bc;hp=6aa60182b1f58d24081995d6f2a4571a4709a246;hpb=8d20e449d72975f6add9177d1097d5a204d14f71;p=poolifier.git
diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html
index 6aa60182..2a3a2826 100644
--- a/docs/classes/ClusterWorker.html
+++ b/docs/classes/ClusterWorker.html
@@ -32,12 +32,12 @@ but the minimum number of workers will be guaranteed.
Data = unknown
-
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.
@@ -47,7 +47,7 @@ but the minimum number of workers will be guaranteed.
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.
@@ -64,16 +64,21 @@ but the minimum number of workers will be guaranteed. last Task Timestamp
main Worker
opts
+statistics
task Functions
Accessors
+Methods
Properties
Protected
Readonly
isProtected
last Worker
-Protected
main Worker
+Protected
Readonly
mainReference to main worker.
Protected
Readonly
opts
+Protected
statisticsPerformance statistics computation requirements.
+Protected
taskAccessors
+
+Protected
id+- get id(): number
+-
+
+
Worker id.
+Returns number
+Methods
bind
@@ -211,7 +239,7 @@ but the minimum number of workers will be guaranteed.
Protected
check@@ -223,7 +251,7 @@ but the minimum number of workers will be guaranteed.
emit Destroy
@@ -239,7 +267,7 @@ never be called.
Protected
get@@ -252,10 +280,10 @@ never be called.
Error
-Protected
handle+- handle
Error(e): string
-
-
Handles an error and convert it to a string so it can be sent back to the main worker.
@@ -268,12 +296,12 @@ never be called.The error raised by the worker.
Returns string
Message of the error.
+Returns string
The error message.
Protected
message@@ -285,7 +313,7 @@ never be called.-
-
Parameters
message: MessageValue<Data, Worker>
+message: MessageValue<Data, Data>
Message received.