X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=a82edebe09444cd3162070324281c76882dfe812;hb=c065162cbd0458f984708314dcf5e80c7777077a;hp=71c0015fed848d4f0855ec42e200be72e7a953e3;hpb=a15339d10554e3130fa1d8957163cb29a8eb2c41;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index 71c0015f..a82edebe 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -1,4 +1,4 @@ -
Protected
Optional
aliveProtected
Readonly
isProtected
lastProtected
Readonly
mainProtected
Readonly
optsProtected
statisticsProtected
taskhttps://nodejs.org/api/errors.html#class-typeerror If the fn
parameter is not a function.
Private
beginOptional
name: stringPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
checkPrivate
endProtected
getPrivate
gethttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
handlehttps://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
Protected
messageMessage received.
+The received message.
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
runRuns the given function asynchronously.
+Runs the given task function asynchronously.
Protected
runRuns the given function synchronously.
+Runs the given task function synchronously.
Protected
sendProtected
Abstract
sendSets the default task function to use when no task function name is specified.
+Sets the default task function to use in the worker.
https://nodejs.org/api/errors.html#class-error If the name
parameter is a non-existing task function.
Private
startPrivate
startStarts the worker alive check interval.
+Starts the worker check active interval.
Private
stopPrivate
stopStops the worker alive check interval.
+Stops the worker check active interval.
Protected
workerPrivate
updateStatic
bindInherited from AsyncResource.bind
Handler id of the
+aliveInterval
worker alive check. Interval
+Protected
Optional
activeHandler id of the
activeInterval
worker activity check.Protected
Abstract
id