X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=db2f1086ce2353a03c5534731ec0b8c55536893e;hb=405b39c2835f645e2193dc30c3d190e3dcf3bc3e;hp=746352569aa3777b73e8b1d0b8a6e5d4970e7d63;hpb=7dc3841785ff59f315e3c6f8d76e70a05efd8db7;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 74635256..db2f1086 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,6 +1,6 @@ -
Type of worker.
-Options for a poolifier pool.
+Type of worker.
+Optional
enablePool events integrated with async resource emission.
true
-Optional
enablePool worker node tasks queue.
+Optional
enablePool worker node tasks queue.
false
-Optional
envKey/value pairs to add to worker process environment.
+Optional
envKey/value pairs to add to worker process environment.
Optional
errorA function that will listen for error event on each worker.
+Optional
errorA function that will listen for error event on each worker.
() => {}
Optional
exitA function that will listen for exit event on each worker.
+Optional
exitA function that will listen for exit event on each worker.
() => {}
Optional
messageA function that will listen for message event on each worker.
+Optional
messageA function that will listen for message event on each worker.
() => {}
Optional
onlineA function that will listen for online event on each worker.
+Optional
onlineA function that will listen for online event on each worker.
() => {}
Optional
restartRestart worker on error.
-Optional
settingsCluster settings.
+Optional
restartRestart worker on error.
+Optional
settingsCluster settings.
Optional
startWhether to start the minimum number of workers at pool initialization.
+Optional
startWhether to start the minimum number of workers at pool initialization.
true
-Optional
tasksPool worker node tasks queue options.
-Optional
workerThe worker choice strategy to use in this pool.
+Optional
tasksPool worker node tasks queue options.
+Optional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
-Optional
workerThe worker choice strategy options.
-Optional
workerWorker options.
+Optional
workerThe worker choice strategy options.
+Optional
workerWorker options.
Generated using TypeDoc
Generated using TypeDoc
Options for a poolifier pool.
-