X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=b57fe944d39edebcb7b6a4b764b2b67f70763929;hb=a13e50c30dd0e0714ace0e1ea4ea1b36cdd18ab7;hp=b037a37ace9d7d4a8b12d86ee0a2ba4a88f49706;hpb=a464a1f80f2239f7c8faa2998b0ba814ac7bddc6;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index b037a37a..b57fe944 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -1,4 +1,4 @@ -
Protected
Readonly
isProtected
lastProtected
Readonly
mainReference to main worker.
-Protected
Readonly
optsProtected
statisticsProtected
taskTask function(s) processed by the worker when the pool's execution
function is invoked.
The task function to add.
Protected
getProtected
handleProtected
handleHandles a kill message sent by the main worker.
+The kill message.
+Protected
handleHandles the ready message sent by the main worker.
+The ready message.
+Protected
messageThe received message.
Protected
runProtected
runTask function that will be executed.
Protected
runTask function that will be executed.
Protected
sendProtected
sendSends to the main worker the ready response.
+Sends the list of task function names to the main worker.
Protected
sendSends a message to the main worker.
+Sends a message to main worker.
Sets the default task function to use when no task function name is specified.
+Sets the default task function to use in the worker.
Static
bind
Task function(s) processed by the worker when the pool's
execution
function is invoked.