X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FAbstractWorker.html;h=c6203c2b9d91cebfddd3f4710bd728ab6602c531;hb=c62a9bbc12416e26acbb3b86b5090d6186b14b60;hp=ad386bb28f44c83eca68c16f11620eaf49f95011;hpb=76b46937556ea55049d5c413aa0a77d0c7f47f48;p=poolifier.git diff --git a/docs/classes/AbstractWorker.html b/docs/classes/AbstractWorker.html index ad386bb2..c6203c2b 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
taskhttps://nodejs.org/api/errors.html#class-typeerror If the fn
parameter is not a function.
Optional
name: stringPrivate
checkPrivate
checkPrivate
checkProtected
getPrivate
gethttps://nodejs.org/api/errors.html#class-error If the task function is not found.
Protected
handleProtected
handleProtected
Abstract
handlehttps://nodejs.org/api/errors.html#class-typeerror If the name
parameter is not a string.
Protected
messagehttps://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
Abstract
send
Sends a message to the main worker.
+Sends a message to main worker.
Parameters
@@ -696,7 +696,7 @@ then restore the original execution context.Returns void
+set Default Task Function
@@ -722,7 +722,7 @@ then restore the original execution context.
Throws
https://nodejs.org/api/errors.html#class-error If the
name
parameter is a non-existing task function.Private
start@@ -733,7 +733,7 @@ then restore the original execution context.
Returns void
Private
stop@@ -744,7 +744,7 @@ then restore the original execution context.
Returns void
trigger Async Id
@@ -763,7 +763,7 @@ then restore the original execution context.-
Returns void
Static
bind@@ -859,7 +859,7 @@ then restore the original execution context.- update
Last Task Timestamp
- bind