X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FDynamicThreadPool.html;h=38d4c8ca91afd4070dc6a09c698eadd887956e25;hb=7d6b5ad23febf5c7830f98a10fb75fb29853bcdb;hp=f0c68f5dbe610c3f3569dbb8b3b11a69b7689651;hpb=b7076c9f9bff47cc233fb67df43ae160680c6d6e;p=poolifier.git diff --git a/docs/classes/DynamicThreadPool.html b/docs/classes/DynamicThreadPool.html index f0c68f5d..38d4c8ca 100644 --- a/docs/classes/DynamicThreadPool.html +++ b/docs/classes/DynamicThreadPool.html @@ -42,7 +42,7 @@ When the maximum number of threads is reached and workers are busy, an event is
Readonly
fileReadonly
maxReadonly
numberReadonly
optsProtected
promiseProtected
workerReadonly
workerProtected
fullPrivate
numberPrivate
numberProtected
afterProtected
beforeProtected
chooseProtected
createProtected
createProtected
destroyExecutes the function specified in the constructor with the task data input parameter.
+Executes the function specified in the worker constructor with the task data input parameter.
-Promise that will be resolved when the task is successfully completed.
+Promise that will be fulfilled when the task is completed.
The task input data for the specified function. This can only be serializable data.
+Optional
data: DataThe task input data for the specified worker function. This can only be serializable data.
Protected
internalProtected
isProtected
registerRegisters a listener callback on the given worker.
The worker which should register a listener.
Protected
sendProtected
setupProtected
worker
Maximum number of threads that can be created by this pool.