Skip to main content
Deno.FsWatcher.return - Deno documentation
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>>
Back to top