async_hooks 0.3.3
async_hooks: ^0.3.3 copied to clipboard
Hooks for Future and Stream inspired by riverpod AsyncValue.
0.3.3 #
- feat: Upgraded
freezedandfreezed_annotationpackages to2.x.x.
0.3.2 #
- fix: Fixed promise for nullable types.
0.3.1 #
- fix: Handling snapshot errors.
0.3.0 #
- fix!: Passing T to all variants and AsyncSnapshot in fromSnapshot constructor.
0.2.0 #
- refactor: Renamed
AsyncValue,AsyncLoading,AsyncDataandAsyncErrortypes toPromise,PromiseLoading,PromiseDataandPromiseErrorto avoid name clash withriverpod. - feat: Added
Promise.valuegetter.
0.1.1 #
- fix: Passing
Ttype toAsyncData, so it's no always of typedynamic.
0.1.0 #
- Added
AsyncValuetype. - Added
useFutureValuehook. - Added
useStreamValuehook.