cancelation_token 1.1.0 cancelation_token: ^1.1.0 copied to clipboard
This package provides an interface for cancelation tokens as well as various implementations (cancelable, timeout, composite...).
1.1.0 #
- Add
exception
getter to retrieve the exception that effectively canceled the token. - Provide default implementations for
isCanceled
andthrowIfCanceled
(based onexception
). - Make
ensureStarted()
a method ofCancelationToken
to help control countdown in timeout tokens and composite tokens containing timeout tokens.
1.0.1 #
- Provide an example as per https://dart.dev/tools/pub/package-layout#examples.
1.0.0 #
- Initial version.