sm_retry 1.0.1 copy "sm_retry: ^1.0.1" to clipboard
sm_retry: ^1.0.1 copied to clipboard

Retry asynchronous functions with exponential backoff

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sm_retry

With Flutter:

 $ flutter pub add sm_retry

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

dependencies:
  sm_retry: ^1.0.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:sm_retry/sm_retry.dart';
0
likes
160
points
185
downloads

Documentation

API reference

Publisher

verified publishershay.wang

Weekly Downloads

Retry asynchronous functions with exponential backoff

Repository (GitHub)
View/report issues

Topics

#retry #http #network #backoff

License

Apache-2.0 (license)

More

Packages that depend on sm_retry