cancelation_token 1.1.0  cancelation_token: ^1.1.0 copied 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...).
1.1.0 #
- Add exceptiongetter to retrieve the exception that effectively canceled the token.
- Provide default implementations for isCanceledandthrowIfCanceled(based onexception).
- Make ensureStarted()a method ofCancelationTokento help control countdown in timeout tokens and composite tokens containing timeout tokens.
1.0.1 #
- Provide an example as per https://dart.cn/tools/pub/package-layout#examples.
1.0.0 #
- Initial version.