2.0.0 • Published 2 years ago
@ty-ras-extras/cache v2.0.0
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.