@ty-ras-extras/cache
v2.0.0
Published
Light-weight cache API and implementation with `Map`.
Readme
Typesafe REST API Specification Extras - Async Value Caching
This folder contains functions which allow creation of objects usable for caching asynchronously (via Promise) acquireable values.
The module entrypoints are createInMemoryAsyncCache for caching anything which has a string key.
Additionally, createInMemoryBiDiAsyncCache is also exposed, for bidirectionally caching strings which are both keys and values, and are both unique.
