(path: string, options: WatchOptions = {})
| 695 | // semantics can stat the path themselves. |
| 696 | |
| 697 | watch(path: string, options: WatchOptions = {}): WatchHandle { |
| 698 | return createWatcher(this.db, path, options, this.watchIntervalMs); |
| 699 | } |
| 700 | |
| 701 | watchAsync(path: string, options: WatchOptions = {}): AsyncIterable<WatchEvent> { |
| 702 | return createWatchAsyncIterable(this.watch(path, options)); |
no test coverage detected