X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=16a9c96d53e8ebc56ccfaf4b08f53cd8aacc3745;hb=4ee786575c19cfc95faa0dfc2671b3ab8f680402;hp=767bf56e7574bca5ee30ffb6fa99fa0f26fc8fb2;hpb=15e4d8f3cafe9f7412913b0e440921e813bdf3cd;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 767bf56e..16a9c96d 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,13 +1,13 @@ -
Type of worker.
-Optional
enableOptional
enablePool events emission.
- -true
+Pool events integrated with async resource emission.
+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.
-