X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FIPool.html;h=6668e51119507a100de3d33586f0c5057715dcb1;hb=4a2991331aa9ab339cf110856e8ce4752a0b3400;hp=488af2256da5e6129e0d55a34e7cda2bc7b4bea0;hpb=c0b0686de0f8c5483b20b94fac97d2b8175c0556;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 488af225..6668e511 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>