X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=0f1cf65dc611ff587b0f54c5ad9301d3fb1ab50a;hb=0d64fd531460a553940a8e3b2912be059c9cdf48;hp=5a7614e3fa09cecfd8730a71881ac4078c761a42;hpb=e76cb051ad171ceb6183dbe5ab0397ebb8f242d0;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 5a7614e3..0f1cf65d 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.
-