cancellation 0.0.0 copy "cancellation: ^0.0.0" to clipboard
cancellation: ^0.0.0 copied to clipboard

discontinuedreplaced by: freemework_cancellation

A starting point for Dart libraries or applications.

ZXTeam's Cancellation #

pub package build status commit activity badge last commit badge twitter badge

Classes #

CancellationToken #

CancellationTokenSource #

SimpleCancellationTokenSource #

TimeoutCancellationTokenSource #

Usage #

A simple usage example:

import 'package:cancellation/cancellation.dart';

main() {
  final cts = SimpleCancellationTokenSource();

  final CancellationToken token = cts.token;

  // pass token to any cancallable function
}

Features and bugs #

TBD

0
likes
30
pub points
0%
popularity

Publisher

verified publisherzxteam.org

A starting point for Dart libraries or applications.

Homepage

License

MIT (LICENSE)

More

Packages that depend on cancellation