X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=01630961be08beb551a60a7401ec3fb82fd29931;hb=1e74be19a0da8b4c86a06124fadfcd0a07800cfe;hp=71aad1cb24f350185701c951769fbf8805c20b4f;hpb=5e7fdc4a7f8c01824825abd4ad57ec787a4beea7;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 71aad1cb..01630961 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,238 +1,46 @@ -
Type of worker.
-Options for a poolifier pool.
+Type of worker.
+Optional
enablePool events emission.
-true
-Optional
enablePool worker tasks queue.
-false
-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
messageA function that will listen for message event on each worker.
-Optional
onlineA function that will listen for online event on each worker.
-Optional
restartRestart worker on error.
-Optional
tasksPool worker 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
enablePool events integrated with async resource emission.
+true
+
+Optional
enablePool worker node tasks queue.
+false
+
+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
messageA function that will listen for message 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
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
workerThe worker choice strategy options.
+Optional
workerWorker options.
+Generated using TypeDoc
Options for a poolifier pool.
-