node-pool
node-pool copied to clipboard
Allow to find out when the pool is completely filled
There is no way to tell, when the filling of minimum objects is completed. Or am I missing something? I would suggest:
- at least emit an event, that the pool is ready for use,
- or better add the
fillmethod which would returnPromiseresolved on completion, - or best add the
fillmethod withcountparameter.
- or make the
startmethod returnPromise.