Theia API Documentation v1.77.0
    Preparing search index...

    A watch shared by every request that resolves to the same target. Implementations decide whether it recurses.

    interface FileSystemWatcher {
        isDisposed: boolean;
        whenDisposed: Promise<void>;
        addRequest(watcherId: number, request: WatchRequest): void;
        removeRequest(watcherId: number): void;
    }

    Implemented by

    Index
    isDisposed: boolean

    A disposed watcher released its resources and must not be given further requests.

    whenDisposed: Promise<void>

    Resolves once this watcher disposed itself. Never rejects.