Last updated:
0 purchases
memcached
Simple in-memory key to object cache with expiry
Features #
Dynamic values mean there's no type checking or serialization. This means you can store anything you want in the cache.
Usage #
double someValue = getCachedSync(
id: "some.key",
getter: () => 1.5,
duration: Duration(minutes: 5));
getCached(
id: "some.async",
getter: () async => 1.5,
duration: Duration(minutes: 5))
.then((value) => print(value));
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.