PackageTrack
Sign in Get early access

async_hooks

Hooks for Future and Stream inspired by riverpod AsyncValue.

0.3.3 source

What this package is like to depend on

Last release 4 years ago

no release in 18 months

Ships fairly regularly

a new release about every 3 weeks

Nearly every release is documented

notes for 7 of 7 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

7 releases · first in 2022

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Mar 2022 to Apr 2022
2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. 0.3.3 26 Apr 2022
    Release notes
    • feat: Upgraded freezed and freezed_annotation packages to 2.x.x.
    Open source →
  2. 0.3.2 13 Apr 2022
    Release notes
    • fix: Fixed promise for nullable types.
    Open source →
  3. 0.3.1 13 Apr 2022
    Release notes
    • fix: Handling snapshot errors.
    Open source →
  4. 0.3.0 13 Apr 2022
    Release notes
    • fix!: Passing T to all variants and AsyncSnapshot in fromSnapshot constructor.
    Open source →
  5. 0.2.0 15 Mar 2022
    Release notes
    • refactor: Renamed AsyncValue, AsyncLoading, AsyncData and AsyncError types to Promise, PromiseLoading, PromiseData and PromiseError to avoid name clash with riverpod.
    • feat: Added Promise.value getter.
    Open source →
  6. 0.1.1 09 Mar 2022
    Release notes
    • fix: Passing T type to AsyncData, so it's no always of type dynamic.
    Open source →
  7. 0.1.0 09 Mar 2022
    Release notes
    • Added AsyncValue type.
    • Added useFutureValue hook.
    • Added useStreamValue hook.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive