X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPool.html;h=d7e5c6c8a8b3405ab449ec35d24daebc33533482;hb=9eae7f2bf8939eaa61474e358835c1b2f13a754c;hp=ab6163b1b8706be6af794872a3c8e1c695a049ab;hpb=b142df6d1278e9d0b6c4c7226bf3dae36c486410;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index ab6163b1..d7e5c6c8 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -1,11 +1,13 @@
Optional
Readonly
emitterEmitter 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.Perform the task specified in the constructor with the data parameter.
+Performs the task specified in the constructor with the data parameter.
Promise that will be resolved when the task is successfully completed.
The input for the specified task. This can only be serializable data.
Set the worker choice strategy in this pool.
+Sets the worker choice strategy in this pool.
The worker choice strategy.
Generated using TypeDoc
Shut down every current worker in this pool.
+Shutdowns every current worker in this pool.
Returns Promise<void>