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.

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's external-store subscription API.

Vue

Composables returning refs and automatic scope cleanup.

Svelte

Readable stores with component lifecycle cleanup.