Interface WatchOptions

interface WatchOptions {
    encoding?: BufferEncoding | "buffer";
    persistent?: boolean;
    recursive?: boolean;
    signal?: AbortSignal;
}

Hierarchy (view full)

Properties

encoding?: BufferEncoding | "buffer"
persistent?: boolean
recursive?: boolean
signal?: AbortSignal

When provided the corresponding AbortController can be used to cancel an asynchronous action.

Generated using TypeDoc