coopernurse / node-pool

Generic resource pooling for node.js
2.38k stars 259 forks source link

Allow waiting until the pool is ready #268

Closed idan-at closed 3 years ago

idan-at commented 5 years ago

It can be useful to wait for the pool to be ready. For example, a web server can listen only after the pool is "warmed".

solves #265 .

idan-at commented 5 years ago

@sandfox any updates?

idan-at commented 3 years ago

@Kikobeats Can you please have a look?

Kikobeats commented 3 years ago

@idan-at let me take a look.

BTW, can you remove package-lock.json?

idan-at commented 3 years ago

@Kikobeats Thanks.

BTW, can you remove package-lock.json?

Done.

Kikobeats commented 3 years ago

LGTM; Can you add the .ready method inside README.md? then people can see it exists 🙂

idan-at commented 3 years ago

Makes sense :)

Done here