batch_fetcher 0.1.0 copy "batch_fetcher: ^0.1.0" to clipboard
batch_fetcher: ^0.1.0 copied to clipboard

Coalesces per-item value lookups into batched requests, with debouncing, per-id caching, retry with backoff, and typed per-id state.

0.1.0 #

  • Initial release: BatchFetcher, BatchScope, BatchKey, BatchOutcome, the sealed FetchEntry states, RetryPolicy / ExponentialBackoff / NoRetry, SettlePolicy / SettleWhen, BatchFetcherConfig, BatchFetcherObserver and the injected Clock.
  • Adds the batch_fetcher_testing library: FakeClock, ScriptedRequest and RecordingObserver. No new dependencies — it works under both test and flutter_test.
0
likes
160
points
119
downloads

Documentation

API reference

Publisher

verified publishersupy.io

Weekly Downloads

Coalesces per-item value lookups into batched requests, with debouncing, per-id caching, retry with backoff, and typed per-id state.

Repository (GitHub)
View/report issues

Topics

#batching #debounce #cache #retry #fetch

License

MIT (license)

Dependencies

collection, meta

More

Packages that depend on batch_fetcher