X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=54dc548553d2a01d5c21dd7912ab72f738da3f7d;hb=761b0c73be0bf581f50a78123913f933bd405f52;hp=f6969cc2a7160080cd1a034fb4f7bcfbcd630808;hpb=842d8918a19fc2720d4436789a2e373bc623452e;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index f6969cc2..54dc5485 100644 --- a/docs/classes/AbstractWorker.html +++ b/docs/classes/AbstractWorker.html @@ -43,7 +43,7 @@
Whether this is the main worker or not.
Function processed by the worker when the pool's execution
function is invoked.
Reference to main worker.
@@ -134,7 +123,7 @@Handler id of the aliveInterval
worker alive check.
Protected
Readonly
isWhether this is the main worker or not.
Protected
lastTimestamp of the last task processed by this worker.
Protected
mainReference to main worker.
Protected
Readonly
optsOptions for the worker.
AsyncResource
to which the function is bound.
Private
checkChecks if the fn
parameter is passed to the constructor.
AsyncResource
to which the function is bound.
The function that should be defined.
-Private
checkAsyncResource
to which the function is bound.
Protected
handleProtected
messageWorker message listener.
Message received.
Function processed by the worker when the pool's execution
function is invoked.
Protected
runRuns the given function synchronously.
Function that will be executed.
-Optional
data: DataInput data for the given function.
Protected
runRuns the given function asynchronously.
Function that will be executed.
-Optional
data: DataInput data for the given function.
AsyncResource
to which the function is bound.
Constructs a new poolifier worker.