UNPKG

@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.

10 lines • 542 B
import { SagaGenerator } from 'typed-redux-saga'; export declare class StreamTimeoutError extends Error { constructor(timeoutMs?: number); } export interface WrapStreamingGeneratorOptions { timeoutMs?: number; onError?: (error: unknown) => void; } export declare function wrapStreamingGenerator<R>(generator: AsyncGenerator<R, R | null | undefined, unknown>, onEvent: (chunk: R) => Generator<any, any, any>, options?: number | WrapStreamingGeneratorOptions): SagaGenerator<void>; //# sourceMappingURL=wrap-async-generator.d.ts.map