UNPKG

histoire

Version:

A fast story book powered by Vite

18 lines • 943 B
import type { TerminalHandlerContext } from '../registry.js'; import type { WatchScheduler } from './scheduler.js'; /** * Returns the watch scheduler of the context's generation, creating it on first * use. Nothing observes files and no dependency graph is built before the first * `watch.set` enables watching. * @param context Handler context of the current generation. */ export declare function getWatchScheduler(context: TerminalHandlerContext): WatchScheduler; /** * Whether watching was ever enabled for this generation; disabling a never-enabled * watch must not create the selector (and its dependency graph). * @param context Handler context of the current generation. */ export declare function hasWatchScheduler(context: TerminalHandlerContext): boolean; export { createWatchScheduler } from './scheduler.js'; export type { WatchScheduler, WatchSchedulerOptions } from './scheduler.js'; //# sourceMappingURL=index.d.ts.map