batch_fetcher 0.1.1 copy "batch_fetcher: ^0.1.1" to clipboard
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_fetcher

With Flutter:

 $ flutter pub add batch_fetcher

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  batch_fetcher: ^0.1.1

Alternatively, 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';
0
likes
160
points
105
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