X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=a9ddfa8420178d20d19168fc78b57911a7cc38ad;hb=c550f291145b17511037ef94aa6f5cbbd3868751;hp=bfd32cf88242abc4383beae65ec9dd95b2a67afa;hpb=cb4889b43e6935f6dd70d8011ba085c9ca7218ba;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index bfd32cf8..a9ddfa84 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