cancellation 0.0.0

Dart native js
Flutter Android iOS web

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
80
pub points
0%
popularity

Publisher

zxteam.org

A starting point for Dart libraries or applications.

Homepage

Documentation

API reference

License

MIT (LICENSE)

More

Packages that depend on cancellation