X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=a7ffc00b92f27753660bace6ae43e5ed20a9e0d5;hb=ac39dc220bef0b83859eb2ec79938b23b2476b6c;hp=0c74a971ac921b2e0222d397f7c42a67d5590a62;hpb=0e502832d98443e291ea5558423ca0de86b96e13;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 0c74a971..a7ffc00b 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,204 +1,46 @@ -
Type of worker.
-Options for a poolifier pool.
+Type of worker.
+Optional
enablePool events emission.
-true
+worker Options?
+
Optional
enablePool events integrated with async resource emission.
+true
-Optional
enablePool worker node tasks queue.
-false
+
Optional
enablePool worker node 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 node tasks queue options.
-Optional
workerThe worker choice strategy to use in this pool.
-WorkerChoiceStrategies.ROUND_ROBIN
+
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
workerThe worker choice strategy options.
-Generated using TypeDoc
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.
-