circuit_breaker 1.0.3 copy "circuit_breaker: ^1.0.3" to clipboard
circuit_breaker: ^1.0.3 copied to clipboard

Implementation of the Circuit Breaker Design Pattern for HTTP requests

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add circuit_breaker

With Flutter:

 $ flutter pub add circuit_breaker

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

dependencies:
  circuit_breaker: ^1.0.3

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:circuit_breaker/circuit_breaker.dart';
4
likes
130
pub points
39%
popularity

Publisher

verified publishercodenetworks.dev

Implementation of the Circuit Breaker Design Pattern for HTTP requests

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter_lints, http, meta

More

Packages that depend on circuit_breaker