ded

Dead Easy Deduplication
About
ded is a library which performs request coalescing and caching backed
by schnellru.
Usage
[]
= "0.1.0"
let cache = new;
let key = "key";
async
// Accessing a new value
let value = cache.get_or_update.await?;
assert_eq!; // value is returned, request is performed
// Accessing a cached value
Contributing
We welcome contributions to the project! If you notice any issues or errors, feel free to open an issue or submit a pull request.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.