@ty-ras-extras/resource-pool-fp-ts
v2.0.0
Published
Create resource pool with customizable administration, and Task-based (from `fp-ts` library) acquire/release methods.
Downloads
801
Readme
Typesafe REST API Specification Extras - Resource Pool With FP-TS
This folder contains library which exposes function to create ResourcePools which are operating based on Tasks and TaskEithers of fp-ts library.
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.
