resilience 0.4.0 copy "resilience: ^0.4.0" to clipboard
resilience: ^0.4.0 copied to clipboard

Circuit breaker, bulkhead, retry with backoff, timeout, and rate limiter policies to keep Dart async calls resilient when a dependency fails or throttles. Zero dependencies.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add resilience

With Flutter:

 $ flutter pub add resilience

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

dependencies:
  resilience: ^0.4.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:resilience/resilience.dart';
0
likes
160
points
831
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdeveloperyusuf.com

Weekly Downloads

Circuit breaker, bulkhead, retry with backoff, timeout, and rate limiter policies to keep Dart async calls resilient when a dependency fails or throttles. Zero dependencies.

Repository (GitHub)
View/report issues

Topics

#retry #circuit-breaker #bulkhead #rate-limiting #fault-tolerance

License

MIT (license)

More

Packages that depend on resilience