X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=01630961be08beb551a60a7401ec3fb82fd29931;hb=1e74be19a0da8b4c86a06124fadfcd0a07800cfe;hp=f67fc657e6eae98ee6398e17bec1a21347bcf5d5;hpb=d8e6bb3c5f8adc1797760260a1a22c228f76e984;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index f67fc657..01630961 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,239 +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.
-