X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FDynamicThreadPool.html;h=62d4967497f54546e914007767913f7abfc1ca0c;hb=76b46937556ea55049d5c413aa0a77d0c7f47f48;hp=95f7fd36a65abace8f9cc6a46b2a9166e2e33f75;hpb=47c9cec4c0a1a871153e1811ec6d95c90d2c86d1;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index 95f7fd36..62d49674 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -1,4 +1,4 @@ -
Events that can currently be listened to:
'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are ready.'ready'
: Emitted when the number of workers created in the pool has reached the minimum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.Protected
Readonly
fileProtected
Readonly
maxProtected
Readonly
numberProtected
Readonly
optsProtected
promiseProtected
workerReadonly
workerProtected
fullProtected
maxProtected
minPrivate
readyPrivate
startingProtected
typePrivate
utilizationProtected
workerProtected
afterProtected
beforeProtected
checkProtected
createProtected
createProtected
createProtected
destroyProtected
getThe worker.
+The worker information.
+ +https://nodejs.org/api/errors.html#class-error If the worker is not found.
+Protected
getProtected
internalProtected
isProtected
registerRegisters a listener callback on the given worker.
+The worker which should register a listener.
+The message listener callback.
+Protected
sendProtected
sendProtected
setupProtected
worker
Gets the worker information from the given worker.
+