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

A production-ready retry library for Dart and Flutter featuring exponential backoff, advanced jitter strategies, conditional retries, typed exceptions, event streams, and zero-boilerplate async resilience.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add smart_retry

With Flutter:

 $ flutter pub add smart_retry

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

dependencies:
  smart_retry: ^1.0.0

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:smart_retry/smart_retry.dart';
0
likes
150
points
6
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A production-ready retry library for Dart and Flutter featuring exponential backoff, advanced jitter strategies, conditional retries, typed exceptions, event streams, and zero-boilerplate async resilience.

Repository (GitHub)
View/report issues

Topics

#retry #backoff #network #resilience #http

License

MIT (license)

Dependencies

meta

More

Packages that depend on smart_retry