X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=9dcdc7c1b2e8addebd692d80869ff1fe787e54ae;hb=4e1212db1d198963828820471bde6902277d0388;hp=b29b5f35df304a9632c2dca952421cdba5179c09;hpb=fb8fbcfd7983c1eadc39411c9b29054e6fa97d5b;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index b29b5f35..9dcdc7c1 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,13 +1,13 @@ -
Protected
Abstract
idProtected
Readonly
isProtected
lastPrivate
Readonly
mainProtected
Readonly
optsProtected
optsOptions for the worker.
Protected
statisticsProtected
taskhttps://nodejs.org/api/errors.html#class-typeerror If the fn
parameter is not a function.
Private
beginOptional
name: stringPrivate
checkPrivate
checkhttps://nodejs.org/api/errors.html#class-error If the message worker id is not set or does not match the worker id.
Private
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
endProtected
getReference to the main worker.
-Private
getGets the task function with the given name.
-Optional
name: stringName of the task function that will be returned.
-The task function.
-https://nodejs.org/api/errors.html#class-error If the task function is not found.
+https://nodejs.org/api/errors.html#class-error If the main worker is not set.
Protected
handleProtected
handleProtected
Abstract
handlehttps://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
Protected
messagehttps://nodejs.org/api/errors.html#class-error If the name
parameter is the task function used as default task function.
Protected
runhttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
runProtected
runProtected
sendProtected
Abstract
sendhttps://nodejs.org/api/errors.html#class-error If the name
parameter is a non-existing task function.
Private
startPrivate
stopPrivate
updateStatic
bindGenerated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Options for the worker.