X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FAbstractWorker.html;h=b29b5f35df304a9632c2dca952421cdba5179c09;hb=fb8fbcfd7983c1eadc39411c9b29054e6fa97d5b;hp=804131023c7ffe37ed4c3f3fb1eb780d3ab077af;hpb=8ad621cc1d32ed396fca3ef2ec48337e42d2dcc2;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 80413102..b29b5f35 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Protected
Abstract
idProtected
Readonly
isProtected
lastPrivate
Readonly
mainProtected
Readonly
optsProtected
statisticsProtected
taskWhether the task function was added or not.
Optional
name: stringPrivate
checkCheck if the message worker id is set and matches the worker id.
+The message to check.
+https://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
checkProtected
getPrivate
gethttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
handleProtected
handleProtected
Abstract
handleWhether the worker has a task function with the given name or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
Protected
messageWhether the task function existed and was removed or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the default task function reserved name.
https://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
sendProtected
Abstract
sendWhether the default task function was set or not.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
https://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string or an empty string.
https://nodejs.org/api/errors.html#class-error If the name
parameter is the default task function reserved name.
https://nodejs.org/api/errors.html#class-error If the name
parameter is a non-existing task function.
Private
startPrivate
stopStatic
bind
Throws
https://nodejs.org/api/errors.html#class-typeerror If the
+name
parameter is not a string.Throws
https://nodejs.org/api/errors.html#class-typeerror If the
name
parameter is not a string or an empty string.Throws
https://nodejs.org/api/errors.html#class-error If the
name
parameter is the default task function reserved name.Throws
https://nodejs.org/api/errors.html#class-typeerror If the
fn
parameter is not a function.