compatible-pool
v1.0.1
Published
[](https://travis-ci.org/fabiosantoscode/compatible-pool) [ => res, destroy: res => (destroys res) })
- max: maximum number of parallel processes
- create: return your resource here as a promise
- destroy: destroy your resource
pool.acquire() -> Promise
Aquire a resource from the pool. This can take longer if the maximum number of processes has been reached.
pool.release(res)
Release a resource in the pool.
pool.clear()
Clear everything in the pool.
