X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=a01157613b5aca368abfdf2d89a529d6dc863fb2;hb=1cc6e9ef64f399f4ca58da8079ef72a011ac4227;hp=fbb037324d54cc05488bf30c810096c1000d5505;hpb=d655c2c2b159a39f900230c14b301ba123653362;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index fbb03732..a0115761 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enablePool events emission.
- -true
+Optional
enablePool events integrated with async resource emission.
+true
+
Optional
enablePool worker tasks queue.
- -false
+Optional
enablePool 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
settingsOptional
restartRestart worker on error.
+Optional
settingsOptional
tasksPool worker tasks queue options.
+Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
tasksPool worker node tasks queue options.
+Optional
workerOptional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
+
Optional
workerOptional
workerThe worker choice strategy options.
-Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Options for a poolifier cluster pool.
-