state/async_state library

Classes

AsyncState<T>
An immutable snapshot of an asynchronous value with explicit loading/error states — the shape every data screen renders. Carries optional data even while LoadStatus.loading or LoadStatus.error so the UI can show last-known content (e.g. cached nodes) under a spinner or error banner.

Enums

LoadStatus
Where an async load currently stands.