X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=c5237736f6ca554eb48c4680f84c9a97e104f97d;hb=222e961327beb03ab327a93dd4ff6ca47b0c51f2;hp=bfd32cf88242abc4383beae65ec9dd95b2a67afa;hpb=cb4889b43e6935f6dd70d8011ba085c9ca7218ba;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index bfd32cf8..c5237736 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
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
restartOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Optional
tasksOptional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
WorkerChoiceStrategies.ROUND_ROBIN
Optional
workerGenerated using TypeDoc
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
Optional
enable