async_notifier 0.1.1
async_notifier: ^0.1.1 copied to clipboard
A ValueNotifier for all async states. Listen, notify, and manage loading, error and data in one place.
Changelog #
This project adheres to Semantic Versioning.
0.1.1 Oct 18, 2023 #
-
Adds
cancel()
method toAsyncNotifier
: Now you can manually unsubscribe to current future! (and stream). This will essentially cancel stream or ignore future result. Setting them to null andConnectionState
to none. -
Fixes a problem where the stream wasn't being cast as broadcast correctly.
-
Updates
future
andstream
setters to better address initial values. -
Updates README.md
-
Removes unnecessary asserts on
AsyncSnapshot
xtension.
0.1.0 Oct 15, 2023 #
- Initial pre-release.