X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=323fb11355dcadd0ee8ff28bbb7bdad8be3b2e81;hb=222e961327beb03ab327a93dd4ff6ca47b0c51f2;hp=4be1f7ce4caba0884bd58f6de8eca432142e70c7;hpb=cc35cd9cb7323e39c9f521cdd4fbf51d1d31bbdf;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 4be1f7ce..323fb113 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enableOptional
envhttps://nodejs.org/api/cluster.html#cluster_cluster_fork_env
Optional
errorA function that will listen for error event on each worker.
Optional
exitA function that will listen for exit event on each worker.
() => {}
Inherited from PoolOptions.exitHandler
Optional
messageA function that will listen for message event on each worker.
() => {}
Inherited from PoolOptions.messageHandler
Optional
onlineA function that will listen for online event on each worker.
() => {}
Inherited from PoolOptions.onlineHandler
Optional
restartInherited from PoolOptions.restartWorkerOnError
Optional
settingshttps://nodejs.org/api/cluster.html#cluster_cluster_settings
Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Inherited from PoolOptions.startWorkers
+Optional
tasksInherited from PoolOptions.tasksQueueOptions
Optional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
WorkerChoiceStrategies.ROUND_ROBIN
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
Optional
enable