X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=a27f13d187869ee58dbf98ccb11775688235a266;hb=a13e50c30dd0e0714ace0e1ea4ea1b36cdd18ab7;hp=2b964a23fe3806fae0f344381cdd8ec63fce0c80;hpb=120c7852afd1ce4c01bd7e70cd14eeeedda8c1e3;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 2b964a23..a27f13d1 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,4 +1,4 @@ -
Protected
Readonly
isProtected
lastProtected
Readonly
mainReference to main worker.
-Protected
Readonly
optsPrivate
portMessage port used to communicate with the main worker.
+Protected
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.