X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=f418edd51db4fb5809f710eddcf1948fe54f4fc5;hb=0766991a1f087ea0a03617d200b064e0db2d435a;hp=d598306ad24be425d1fcdbf9408999fff2cda5e7;hpb=85866e93314ba604dd5dfaf2aab2a647f0196329;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index d598306a..f418edd5 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,37 +1,46 @@ -
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
errorA function that will listen for error event on each worker.
+Optional
envKey/value pairs to add to worker process environment.
+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
startWhether to start the minimum number of workers at pool initialization.
+Optional
restartRestart worker on error.
+Optional
settingsCluster settings.
+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.
-WorkerChoiceStrategies.ROUND_ROBIN
+
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.
-Generated using TypeDoc
Optional
workerThe worker choice strategy options.
+Optional
workerWorker options.
+Generated using TypeDoc
Options for a poolifier pool.
-