interface Deno.FsWatcher
Returned by Deno.watchFs. It is an async iterator yielding up
system events. To stop watching the file system by calling .close()
method.
Methods Jump to heading
Jump to headingclose(): voidStops watching the file system and closes the watcher resource.
optional
Jump to headingreturn(value?: any): Promise<IteratorResult<FsEvent>>Stops watching the file system and closes the watcher resource.
Jump to heading[[Symbol.asyncIterator]](): AsyncIterableIterator<FsEvent>