UNPKG

@firesystem/core

Version:

Virtual File System core interfaces and types

11 lines (9 loc) 291 B
import type { FSEvent } from "../types/Events"; import type { Disposable } from "../types/Common"; /** * Interface for watchable file systems */ export interface IWatchable { watch(pattern: string, callback: (event: FSEvent) => void): Disposable; unwatch(handle: Disposable): void; }