Framework adapters

Every adapter uses @omni-async/core for request ordering and cancellation, then stores results in its framework's own state. Choose the package matching the component runtime; use createAsync directly in vanilla JavaScript or framework-independent services.

APIPurpose
useAsyncConfigurable operation with concurrency, fallback data, callbacks, and equality
useQueryLatest-request query with optional initial data
useActionManually triggered action
useFetchMount-triggered, abortable fetch helper

The React and Vue adapters expose { data, error, loading, trigger }. Svelte exposes the state fields as readable stores.

React

Hooks using React-owned state.

Vue

Composables returning refs and automatic scope cleanup.

Svelte

Readable stores with component lifecycle cleanup.