X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FClusterWorker.html;h=62ea0b1b9fd3bc3f08cdfab0a13c32335252332c;hb=fc027381650624a242a2e7b139976d52c3aa304c;hp=0ac4865d24a4757f25900904a46b066b3d7a2746;hpb=65ec4e64a4690b019d3ef86c97aa7182b715f539;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index 0ac4865d..62ea0b1b 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -44,7 +44,7 @@ but the minimum number of workers will be guaranteed.
Function processed by the worker when the pool's execution
function is invoked.
Task function(s) processed by the worker when the pool's execution
function is invoked.
Protected
Readonly
isProtected
lastProtected
mainProtected
Readonly
optsProtected
taskTask function(s) processed by the worker when the pool's execution
function is invoked.
Binds the given function to execute to this AsyncResource
's scope.
The returned function will have an asyncResource
property referencing
-the AsyncResource
to which the function is bound.
v14.8.0, v12.19.0
AsyncResource
to which the function is bound.
The function to bind to the current AsyncResource
.
Protected
checkAsyncResource
to which the function is bound.
Inherited from AbstractWorker.checkAlive
Inherited from AbstractWorker.emitDestroy
Protected
getInherited from AbstractWorker.getMainWorker
Protected
handleOverrides AbstractWorker.handleError
Protected
messageWorker message listener.
Message received.
-Function processed by the worker when the pool's execution
function is invoked.
Inherited from AbstractWorker.messageListener
Protected
runRuns the given function synchronously.
-Function that will be executed.
-Input data for the given function.
-Inherited from AbstractWorker.run
-Protected
runFunction that will be executed.
Input data for the given function.
Inherited from AbstractWorker.runAsync
Inherited from AbstractWorker.runInAsyncScope
Protected
runRuns the given function synchronously.
+Function that will be executed.
+Input data for the given function.
+Inherited from AbstractWorker.runSync
+Protected
sendThe response message.
Overrides AbstractWorker.sendToMainWorker
Inherited from AbstractWorker.triggerAsyncId
Static
bindBinds the given function to the current execution context.
-The returned function will have an asyncResource
property referencing
-the AsyncResource
to which the function is bound.
v14.8.0, v12.19.0
AsyncResource
to which the function is bound.
Optional
thisArg: ThisArgInherited from AbstractWorker.bind
Constructs a new poolifier cluster worker.