X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPool.html;h=071c59d5926ddfbe3a763dd6300d28b8d70476e5;hb=da3098610d6cf6155bbbe53c84b6ac6ccd400ff5;hp=a365532216bb8e1ff0dd64294b0e1c5c5dced6d8;hpb=a76fac14098cf2138cf8d6997ac7c89d8c3ae508;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index a3655322..071c59d5 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>