@ty-ras-extras/resource-pool
v2.0.0
Published
Create resource pool with customizable administration, and asynchronous acquire/release methods.
Downloads
22
Readme
Typesafe REST API Specification Extras - Resource Pool
This folder contains library which exposes function to create ResourcePool
s which are operating on asynchronous creation and destruction callbacks.
The function returns separate ResourcePoolAdministration
object, which can be used to run eviction cycle and request pool parameters.
In the future, the ResourcePoolAdministration
will be expanded to also modify the pool parameters at runtime, enabling varying resource pool configration based on e.g. certain schedule.