X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FThreadWorker.html;h=b770b6855209a27a16264826872f68b9ebb0fe22;hb=50b332ec235604105c6290eee79d16ab5757eac1;hp=0a74eeb63899a43ee8fa1fbf37ab88f76bef7497;hpb=f04db52f666beefda86a0444fb9a28d410211b3f;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 0a74eeb6..b770b685 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,13 +1,13 @@ -
Protected
Readonly
isProtected
lastProtected
Readonly
optsProtected
optsOptions for the worker.
Private
portProtected
statisticsProtected
taskTask function(s) processed by the worker when the pool's execution
function is invoked.
The task function to add.
Whether the task function was added 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.
Protected
getReference to the main worker.
-Protected
handleOverrides AbstractWorker.handleError
Protected
handleOverrides AbstractWorker.handleKillMessage
Protected
handleOverrides AbstractWorker.handleReadyMessage
Whether 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.
Inherited from AbstractWorker.hasTaskFunction
Inherited from AbstractWorker.listTaskFunctions
Protected
messageInherited from AbstractWorker.messageListener
Whether 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.
Inherited from AbstractWorker.removeTaskFunction
Protected
runInherited from AbstractWorker.run
Protected
runTask function that will be executed.
Inherited from AbstractWorker.runAsync
Inherited from AbstractWorker.runInAsyncScope
Protected
runTask function that will be executed.
Inherited from AbstractWorker.runSync
Protected
sendSends the list of task function names to the main worker.
+Inherited from AbstractWorker.sendTaskFunctionsListToMainWorker
+Protected
sendOverrides AbstractWorker.sendToMainWorker
Whether 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.
Inherited from AbstractWorker.setDefaultTaskFunction
Inherited from AbstractWorker.triggerAsyncId
Static
bindInherited from AbstractWorker.bind
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Task function(s) processed by the worker when the pool's
execution
function is invoked.