UNPKG

askeroo

Version:

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

13 lines 472 B
// Spinner store to manage spinner state using the store factory pattern // Uses createStore for automatic reactive updates import { createStore } from "../../core/store.js"; // Create the spinner store with all state in one place export const spinnerStore = createStore({ spinners: new Map(), revision: 0, }); // Clear all spinner data (for testing/reset) export function clearSpinnerStore() { spinnerStore.reset(); } //# sourceMappingURL=spinner-store.js.map