assistant-stream
Version:
Streaming utilities for AI assistants
13 lines • 549 B
TypeScript
import type { ResumableStreamStore } from "../types.js";
export type InMemoryResumableStreamStoreOptions = {
readonly defaultTtlMs?: number;
readonly now?: () => number;
readonly maxChunkBytes?: number;
readonly maxEntriesPerStream?: number;
readonly maxStreams?: number;
readonly gcIntervalMs?: number;
};
export declare function createInMemoryResumableStreamStore(options?: InMemoryResumableStreamStoreOptions): ResumableStreamStore & {
dispose: () => void;
};
//# sourceMappingURL=InMemoryResumableStreamStore.d.ts.map