X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FPoolOptions.html;h=16a9c96d53e8ebc56ccfaf4b08f53cd8aacc3745;hb=4ee786575c19cfc95faa0dfc2671b3ab8f680402;hp=bae8a6296a12ecde863ae1d09fcf5274d801f705;hpb=a6b5c73ccccb3ef0ccc24ad462182e3cacee77b4;p=poolifier.git diff --git a/docs/interfaces/PoolOptions.html b/docs/interfaces/PoolOptions.html index bae8a629..16a9c96d 100644 --- a/docs/interfaces/PoolOptions.html +++ b/docs/interfaces/PoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enableGenerated using TypeDoc
Generated using TypeDoc
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
true
+Default Value
Optional
enablePool worker tasks queue.
+Pool worker node tasks queue.
Default Value
false
+Default Value
Optional
errorA function that will listen for error event on each worker.
Optional
exitA function that will listen for exit event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:124
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:112
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
-- Defined in src/pools/pool.ts:120
Optional
restart-- Defined in src/pools/pool.ts:138
Workers
+Optional
startWhether to start the minimum number of workers at pool initialization.
+Default Value
++- Defined in src/pools/pool.ts:161
Optional
tasksPool worker tasks queue options.
+Pool worker node tasks queue options.
-- Defined in src/pools/pool.ts:154
Optional
workerThe worker choice strategy to use in this pool.
Default Value
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
-- Defined in src/pools/pool.ts:130
Optional
worker-- Defined in src/pools/pool.ts:134