disposable_resource_management 4.1.0
disposable_resource_management: ^4.1.0 copied to clipboard
Provides base types and utilities for managing the loading and disposal of resources.
4.1.0 #
- Updated README setup instructions to install ^4.0.0
- Added token propagation example to README
- Added
AsyncRootResourceTokenandRootResourceTokento manage token-tracked disposal of already-obtained and non-reobtainable resources. - Added
ResourceToken.createmethod - Optimized
AsyncResourceToken.createto useAsyncRootResourceToken - Added
toTokenextension method forDisposableandtoAsyncTokenforAsyncDisposableto allow easily creating tokens to manage their disposal.
4.0.0 #
- [BREAKING] Updated
AsyncResourceTokenpropagation to be synchronous as it does not load or dispose. - Updated exampless to include propagation
3.0.0 #
- [Breaking] Added ability to propagate access via tokens.
ResourceTokenandAsyncResourceTokennow require apropagatorconstructor paramater to facilitate this.
2.0.2 #
- Reduced meta package dependency version to 1.16.0 to fix compatibility with flutter sdk
2.0.1 #
- Updated examples.
2.0.0 #
- [Breaking] Fixed access level of
AsyncResourceManagerto be private. - Removed exprimental variance.
1.0.0 #
- Initial version.