X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=e18ce4378a86c619d7a3825718262edf808ffd07;hb=7cf320c9070f49efc4c68d9330d11c61fb995359;hp=1b9b0b63a592bb1c8700fee9308f38a8ed3822f7;hpb=a470bbcf628a548eb345104761dbc9e7d7792809;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 1b9b0b63..e18ce437 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,6 +1,6 @@ -
Type of worker.
-Options for a poolifier pool.
+Type of worker.
+Optional
enablePool events integrated with async resource emission.
true
-Optional
enablePool worker node tasks queue.
+Optional
enablePool worker node tasks queue.
false
-Optional
envKey/value pairs to add to worker process environment.
+Optional
envKey/value pairs to add to worker process environment.
Optional
errorA function that will listen for error event on each worker.
+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
exitA function that will listen for exit event on each worker.
() => {}
Optional
messageA function that will listen for message 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
onlineA function that will listen for online event on each worker.
() => {}
Optional
restartRestart worker on error.
-Optional
settingsCluster settings.
+Optional
restartRestart worker on error.
+Optional
settingsCluster settings.
Optional
startWhether to start the minimum number of workers at pool initialization.
+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.
+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.
+Optional
workerThe worker choice strategy options.
+Optional
workerWorker options.
Generated using TypeDoc
Generated using TypeDoc
Options for a poolifier pool.
-