@augmentcode/ag-redux-toolkit
Version:
Redux + Saga state management for Svelte apps — designed for AI agents. Includes runtime TypeScript source, AI skills, and reference documentation for robust, observable, high-performance state management.
9 lines • 332 B
TypeScript
import { Saga } from 'redux-saga';
/**
* Start a saga when the component mounts and stop it when it unmounts.
* Call this at component init time to start a saga with automatic cleanup.
*
* @param saga - The saga function to run
*/
export declare function useRunSaga(saga: Saga): void;
//# sourceMappingURL=use-run-saga.d.ts.map