cancellable_process 0.0.5
cancellable_process: ^0.0.5 copied to clipboard
Provides an easy way to retry asynchronous functions. The delay and asynchronous functions you will give are repeated according to the maximum number of repetitions you will give, and the answer is re [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cancellable_processWith Flutter:
$ flutter pub add cancellable_processThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
cancellable_process: ^0.0.5Alternatively, 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:cancellable_process/cancellable_process.dart';