X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FAbstractWorker.html;h=c6203c2b9d91cebfddd3f4710bd728ab6602c531;hb=f04db52f666beefda86a0444fb9a28d410211b3f;hp=ad386bb28f44c83eca68c16f11620eaf49f95011;hpb=5c30b9d94384214b24f11ea7e68a54efaa6795b7;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