X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=4fee6c21c570764d57c0439f9e67b9d4844c783e;hb=3466e757691e2a07e2437d77167c78a0820c0431;hp=49e1f200a69743c748b11460b8b77f299b25ab65;hpb=69f8ce0ab8ce1afcf350b21796496b8dcd2aaec1;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 49e1f200..4fee6c21 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,15 +1,15 @@ -
Type of worker.
+Optional
enablePool events emission.
- -true
+Optional
enablePool events integrated with async resource emission.
+true
+
Optional
errorOptional
enablePool worker node tasks queue.
+false
+
+Optional
errorA function that will listen for error event on each worker.
+() => {}
Optional
exitOptional
exitA function that will listen for exit event on each worker.
+() => {}
Optional
messageOptional
messageA function that will listen for message event on each worker.
+() => {}
Optional
onlineOptional
onlineA function that will listen for online event on each worker.
+() => {}
Optional
restartRestart worker on error.
+Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
workerOptional
tasksPool worker node tasks queue options.
+Optional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
+
Generated using TypeDoc
Generated using TypeDoc
Options for a poolifier pool.
-