Ende.FsWatcher
interface
interface Ende.FsWatcher extends AsyncIterable<FsEvent>, DisposableReturned by Ende.watchFs. It is an async iterator yielding up
system events. To stop watching the file system by calling .close()
method.
Methods
close
close(): voidStops watching the file system and closes the watcher resource.
return
return?(value?: any): Promise<IteratorResult<FsEvent>>Stops watching the file system and closes the watcher resource.
[Symbol.asyncIterator]
[Symbol.asyncIterator](): AsyncIterableIterator<FsEvent>