batch_fetcher 0.1.1
batch_fetcher: ^0.1.1 copied to clipboard
Coalesces per-item value lookups into batched requests, with debouncing, per-id caching, retry with backoff, and typed per-id state.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add batch_fetcherWith Flutter:
$ flutter pub add batch_fetcherThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
batch_fetcher: ^0.1.1Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:batch_fetcher/batch_fetcher.dart';