X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=16a9c96d53e8ebc56ccfaf4b08f53cd8aacc3745;hb=4ee786575c19cfc95faa0dfc2671b3ab8f680402;hp=3216b78dc5d5d795a04057810622e33c5622b0c3;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 3216b78d..16a9c96d 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,13 +1,13 @@ -
Type of worker.
+Optional
enablePool events emission.
- -true
+Optional
enablePool events integrated with async resource emission.
+true
+
Optional
Experimental
enablePool worker tasks queue.
- -false
+Optional
enablePool 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
Experimental
tasksPool worker tasks queue options.
+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
+
Optional
workerOptional
workerThe worker choice strategy options.
-Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Options for a poolifier pool.
-