X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=5003863ead84dc3f251a7b223269ab2f5852483e;hb=6c4fa3e1bd11a23fd83b8492ad941a323853de06;hp=0bc580d596529ca0e1acc319d60988cda9f338bc;hpb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 0bc580d5..5003863e 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.
-