UNPKG

@cocalc/project

Version:
19 lines (18 loc) 496 B
/// <reference types="node" /> import { EventEmitter } from "events"; export declare class Watcher extends EventEmitter { private path; private exists; private watchContents?; private watchExistence?; private debounce_ms; private debouncedChange; private log; constructor(path: string, debounce_ms: number); private init; private initWatchContents; private initWatchExistence; private watchExistenceChange; private change; close(): void; }