UNPKG

askeroo

Version:

A modern CLI prompt library with flow control, history navigation, and conditional prompts

13 lines 473 B
// Stream store to manage streaming output state using the store factory pattern // Uses createStore for automatic reactive updates import { createStore } from "../../core/store.js"; // Create the stream store with all state in one place export const streamStore = createStore({ streams: new Map(), revision: 0, }); // Clear all stream data (for testing/reset) export function clearStreamStore() { streamStore.reset(); } //# sourceMappingURL=stream-store.js.map