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