X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FFixedThreadPool.html;h=2504bffc197d9db600773760a373537c3baec970;hb=8a11bce46f69f1183d025572345755d4fd40231b;hp=a1fecefd0d80aef3fcc6686da10fdc2d0c0537c6;hpb=fddf9cc424b3ace38fd414899c666c76a03c3aff;p=poolifier.git diff --git a/docs/classes/FixedThreadPool.html b/docs/classes/FixedThreadPool.html index a1fecefd..2504bffc 100644 --- a/docs/classes/FixedThreadPool.html +++ b/docs/classes/FixedThreadPool.html @@ -18,7 +18,6 @@
Protected
Readonly
fileProtected
Readonly
numberProtected
Readonly
optsOptions for the pool.
+ +Options for this fixed thread pool.
Protected
promiseProtected
workerWorker choice strategy context referencing a worker choice algorithm implementation.
-Default to a round robin algorithm.
Readonly
workerProtected
fullProtected
maxProtected
minProtected
typeProtected
workerThe received message.
Protected
afterProtected
beforeHook executed before the worker task execution. Can be overridden.
@@ -369,12 +367,17 @@ Can be overridden.The worker node key.
The task to execute.
+Protected
chooseProtected
createProtected
createProtected
destroyProtected
internalProtected
isProtected
registerProtected
sendThe message.
The worker choice strategy.
Protected
setupProtected
workerThe listener function to execute when a message is received from a worker.
A thread pool with a fixed number of threads.
It is possible to perform tasks in sync or asynchronous mode as you prefer.
-This pool selects the threads in a round robin fashion.
Author
Alessandro Pio Ardizio
@@ -47,7 +46,7 @@@@ -129,7 +128,7 @@
opts: PoolOptions<ThreadWorkerWithMessageChannel> = {}
+opts: ThreadPoolOptions = {}
Options for this fixed thread pool.