The type of the successful value
The type of the error
Readonly[ReadonlyerrorThe most recent error, if any.
ReadonlyisWhether a fetch is currently in progress.
ReadonlyrefetchManually trigger a refetch.
ReadonlyresetReset to initial state: isLoading=false, value=None, error=None.
ReadonlyvalueThe most recent successful value, if any.
A reactive async state container that tracks loading, value, and error states. Useful for managing async operations like data fetching.
Example