ctmanager 0.0.1+2 copy "ctmanager: ^0.0.1+2" to clipboard
ctmanager: ^0.0.1+2 copied to clipboard

outdated

A helper capable of managing multiple cancellation tokens with ease. Useful for operations like http requests, image processing, etc, that can be cancelled by user.

0.0.1+2 #

  • fixed CTManager's create method
    • bugs:
      • [1] isCompleted returns true when operation was actually cancelled
      • [2] assert not working
    • fixes:
      • [1] rely on CancelableOperation's isCanceled
      • [2] now throws AssertionError
  • removed flutter_test in pubspec
    • changed to test
  • updated example
    • no longer uses flutter sdk
  • updated README
    • fixed error on example 2
    • updated second example 1 (last example)
    • added clarification about the package

0.0.1+1 #

  • updated README
  • updated pubspec
  • formatted files according to dartfmt

0.0.1 #

  • added CancellationToken class
  • added CTManager helper class
  • added test
  • added example widget
  • added test for the example
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A helper capable of managing multiple cancellation tokens with ease. Useful for operations like http requests, image processing, etc, that can be cancelled by user.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, meta

More

Packages that depend on ctmanager