node-pool icon indicating copy to clipboard operation
node-pool copied to clipboard

Allow to find out when the pool is completely filled

Open radarfox opened this issue 6 years ago • 1 comments

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 fill method which would return Promise resolved on completion,
  • or best add the fill method with count parameter.

radarfox avatar May 31 '19 12:05 radarfox

  • or make the start method return Promise.

radarfox avatar Jun 02 '19 18:06 radarfox