cancelation_token 1.1.0 copy "cancelation_token: ^1.1.0" to clipboard
cancelation_token: ^1.1.0 copied to clipboard

This package provides an interface for cancelation tokens as well as various implementations (cancelable, timeout, composite...).

example/main.dart

import 'cancelable_example.dart' as cancelable;
import 'composite_example.dart' as composite;
import 'timeout_example.dart' as timeout;

void main() async {
  print('CANCELABLE EXAMPLE');
  await cancelable.main();

  print('');
  print('TIMEOUT EXAMPLE');
  await timeout.main();

  print('');
  print('COMPOSITE EXAMPLE');
  await composite.main();
}
2
likes
160
pub points
47%
popularity

Publisher

unverified uploader

This package provides an interface for cancelation tokens as well as various implementations (cancelable, timeout, composite...).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on cancelation_token