@nexus-state/async
v0.1.3
Published
Asynchronous utilities for Nexus State
Readme
@nexus-state/async
Asynchronous utilities for Nexus State
Description
The @nexus-state/async package provides tools for working with asynchronous operations in the context of application state management.
Installation
npm install @nexus-state/asyncKey Features
- Asynchronous operation management
- Integration with the core Nexus State
- Operation cancellation support
Usage Example
import { createAsyncOperation } from '@nexus-state/async';
const asyncOp = createAsyncOperation(async () => {
// Your asynchronous code here
return await fetchData();
});
// Usage in your applicationLicense
MIT
