X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=068328287e3cdae32a4a69dca30af71c1c16e625;hb=07aa795cd0a07537d76394f1c310304539f1237c;hp=ba663e8604c6866df6ec3e62550d5c9514951ad0;hpb=3fca3a00e737361a87f923cc85fc027cd06e347d;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index ba663e86..06832828 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.
-