Framework adapters
Every adapter delegates async state transitions to @omni-async/core. Choose the package matching the component runtime; use core directly in framework-independent services.
| API | Purpose |
|---|---|
useAsync | Configurable operation with concurrency, fallback data, callbacks, and equality |
useQuery | Latest-request query with optional initial data |
useAction | Manually triggered action |
useFetch | Mount-triggered, abortable fetch helper |
The React and Vue adapters expose { data, error, loading, trigger }. Svelte exposes the state fields as readable stores.