@kkdev92/vscode-ext-kit - v4.1.1
    Preparing search index...

    Interface ManagedFileWatcher

    A managed file watcher with debouncing and batching.

    interface ManagedFileWatcher {
        isWatching: boolean;
        dispose(): void;
        onDidChange(
            listener: (events: FileWatcherEvent[]) => void,
        ): { dispose(): void };
        pause(): void;
        resume(): void;
    }
    Index
    isWatching: boolean

    Whether the watcher is currently active.

    • Registers a listener for debounced, batched events. Listener failures are isolated and swallowed so the remaining listeners still receive the batch; handle/report expected failures inside the listener.

      Parameters

      Returns { dispose(): void }

    • Pauses delivery and discards the batch building up in the debounce window. Native watchers stay registered; resuming does not replay dropped events — dispose and recreate the watcher to catch up instead.

      Returns void