X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Fclasses%2FClusterWorker.html;h=067e929441374c92e12369e993d2b04c1f891e21;hb=0e16e60a89029abe61cda7ba293c036298cced05;hp=fdb57ada327f9c8b999d0ba6d7000f8cac64d530;hpb=120c7852afd1ce4c01bd7e70cd14eeeedda8c1e3;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index fdb57ada..067e9294 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 the ready response to the main worker.
+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.