X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=a01157613b5aca368abfdf2d89a529d6dc863fb2;hb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;hp=3febd8f6829975573f21dd12fc3335d299ad3897;hpb=184d530faf6acf70e116cb4a3fb831938b73e2c0;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 3febd8f6..a0115761 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+Pool events integrated with async resource emission.
+true
+
Optional
enableOptional
enablePool worker tasks queue.
- -false
+Pool worker node tasks queue.
+false
+
Optional
envOptional
envKey/value pairs to add to worker process environment.
- -https://nodejs.org/api/cluster.html#cluster_cluster_fork_env
+Optional
errorOptional
errorA function that will listen for error event on each worker.
+() => {}
Optional
exitOptional
exitA function that will listen for exit event on each worker.
+() => {}
Optional
messageOptional
messageA function that will listen for message event on each worker.
+() => {}
Optional
onlineOptional
onlineA function that will listen for online event on each worker.
+() => {}
Optional
restartOptional
restartRestart worker on error.
-Optional
settingsOptional
settingsOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
tasksOptional
tasksPool worker tasks queue options.
-Optional
workerOptional
workerThe worker choice strategy to use in this pool.
- -WorkerChoiceStrategies.ROUND_ROBIN
+WorkerChoiceStrategies.ROUND_ROBIN
+
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerOptional
workerThe worker choice strategy options.
-Inherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Options for a poolifier cluster pool.
-