cancelable 4.2.1 copy "cancelable: ^4.2.1" to clipboard
cancelable: ^4.2.1 copied to clipboard

cancel operation.

Cancel operation #

Usage #


final cancelable = Cancelable();

final disposable = cancelable.whenCancel((){
    // cancel your operation
});
// do someing

dispose cancelletion #

disposable.dispose();

cancel operation #

cancelable.cancel();
2
likes
140
points
361
downloads

Publisher

unverified uploader

Weekly Downloads

cancel operation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

More

Packages that depend on cancelable