X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FPoolOptions.html;h=342b3f9725f03a783003287b9ff6073c3e3183b2;hb=1ed7fb6c99f2fcb5f319d9c1fa2aefc5434f82e4;hp=5f05b9fe75a5e668f2e736444e900adf3d37cce9;hpb=21402562176f7550bcd9ba620cf551972fca6e98;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index 5f05b9fe..342b3f97 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
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
workerOptional
restartRestart worker on error.
+Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Optional
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
Options for a poolifier pool.
-