X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=0f7138019f0a8469f50e1566b51b1f786f2609c7;hb=c1f5e413e6417049835904bb902890defafee5d2;hp=7ea1c393837e025c202e4411c6a7ff46a9b4ef0b;hpb=c2d2417cb80d8c14637fe6a19d58bcf5ce18ae98;p=poolifier.git
diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html
index 7ea1c393..0f713801 100644
--- a/docs/interfaces/IPool.html
+++ b/docs/interfaces/IPool.html
@@ -46,7 +46,7 @@
+Defined in src/pools/pool.ts:167
Optional
Readonly
emitter
+Defined in src/pools/pool.ts:191
Readonly
enableTasksQueue
enableTasksQueue: ((enable, tasksQueueOptions?) => void)
@@ -125,7 +126,7 @@
Returns void
+Defined in src/pools/pool.ts:228
Readonly
execute
execute: ((data?, name?) => Promise<Response>)
@@ -155,7 +156,7 @@
+Defined in src/pools/pool.ts:199
Readonly
info
@@ -163,7 +164,7 @@
+Defined in src/pools/pool.ts:175
Readonly
setTasksQueueOptions
setTasksQueueOptions: ((tasksQueueOptions) => void)
@@ -187,7 +188,7 @@
Returns void
+Defined in src/pools/pool.ts:237
Readonly
setWorkerChoiceStrategy
setWorkerChoiceStrategy: ((workerChoiceStrategy, workerChoiceStrategyOptions?) => void)
@@ -216,7 +217,7 @@
Returns void
+Defined in src/pools/pool.ts:210
Readonly
setWorkerChoiceStrategyOptions
setWorkerChoiceStrategyOptions: ((workerChoiceStrategyOptions) => void)
@@ -240,7 +241,7 @@
Returns void
+Defined in src/pools/pool.ts:219
Readonly
workerNodes
@@ -248,7 +249,7 @@
+Defined in src/pools/pool.ts:179
Emitter on which events can be listened to.
Events that can currently be listened to:
-
-
+
+
+
'full'
: Emitted when the pool is dynamic and full.'busy'
: Emitted when the pool is busy.'full'
: Emitted when the pool is dynamic and the number of workers created has reached the maximum size expected.'ready'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are ready.'busy'
: Emitted when the number of workers created in the pool has reached the maximum size expected and are executing at least one task.'error'
: Emitted when an uncaught error occurs.'taskError'
: Emitted when an error occurs while executing a task.