deno.com
method Deno.FsWatcher.return
#FsWatcher.return(value?: any): Promise<IteratorResult<FsEvent>>

Stops watching the file system and closes the watcher resource.

Parameters #

optional
#value: any

Return Type #

Promise<IteratorResult<FsEvent>>