X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=6288456b81f3728c5bfbe099b8eceb5494a5642d;hb=41e3e08eb7fbcde0a69cea17e697aacb222990a6;hp=302dfd643a084c437cad260171d5066b8e516954;hpb=bf4dcb92f8d370524a2975961731fe6c4e8b083c;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 302dfd64..6288456b 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,13 +1,13 @@ -
Type of worker.
-Optional
enableOptional
enablePool events emission.
- -true
+true
+
Optional
enableOptional
enablePool worker tasks queue.
- -false
+Pool worker node tasks queue.
+false
+
Optional
errorOptional
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
tasksOptional
tasksPool worker tasks queue options.
-Pool worker node tasks queue options.
+Optional
workerOptional
workerThe worker choice strategy to use in this pool.
- -WorkerChoiceStrategies.ROUND_ROBIN
+WorkerChoiceStrategies.ROUND_ROBIN
+
Optional
workerOptional
workerThe worker choice strategy options.
-Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Options for a poolifier pool.
-