X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIPool.html;h=f8cfa2e8054083c932ff4a66e268d775c7408df4;hb=cfc6e8df4c903b63514c46cb67b3f5e24079d3ce;hp=7d7441fb31e1b7453498ab93bf5003e5953777ee;hpb=fe9f25b5ac98c7c7fccd1849a200c5054a77cf03;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 7d7441fb..f8cfa2e8 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>