X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=85ba384b9d411e1800794fdaefd237e716dd6e9e;hb=719cb07a5270674b28f3a21d755524e90b01365e;hp=ab6163b1b8706be6af794872a3c8e1c695a049ab;hpb=b142df6d1278e9d0b6c4c7226bf3dae36c486410;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index ab6163b1..85ba384b 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:
+'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>