cachemesh 1.0.0 copy "cachemesh: ^1.0.0" to clipboard
cachemesh: ^1.0.0 copied to clipboard

Result-first caching and data orchestration layer for Dart and Flutter apps. Memory-first cache with policies, single-flight dedup, and reactive watch streams.

Changelog #

1.0.0 #

Initial release.

  • Result<T> sealed type (Success<T> / Failure<T>) with fold and map.
  • Cache with five policies: cacheFirst, networkFirst, staleWhileRevalidate, networkOnly, cacheOnly.
  • In-memory MemoryCacheStore with per-entry TTL.
  • Single-flight deduplication of concurrent fetches per key.
  • Reactive watch(key) broadcast streams.
  • Manual control: refresh, prefetch, invalidate, clear, peek.
  • Pluggable CacheStore interface (disk adapters land in 1.2.0).
1
likes
0
points
251
downloads

Publisher

verified publisherhimanshulahoti.is-a.dev

Weekly Downloads

Result-first caching and data orchestration layer for Dart and Flutter apps. Memory-first cache with policies, single-flight dedup, and reactive watch streams.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on cachemesh