cancellable_process 0.0.7 copy "cancellable_process: ^0.0.7" to clipboard
cancellable_process: ^0.0.7 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 Flutter:

 $ flutter pub add cancellable_process

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

dependencies:
  cancellable_process: ^0.0.7

Alternatively, your editor might support 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';
4
likes
120
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

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 returned as an error or correct result. Error handling is provided using the Either package.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

async, either_dart, flutter

More

Packages that depend on cancellable_process