MCPcopy Create free account
hub / github.com/cloudflare/computer / watch

Method watch

packages/dofs/src/provider.ts:697–699  ·  view source on GitHub ↗
(path: string, options: WatchOptions = {})

Source from the content-addressed store, hash-verified

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));

Callers 2

watchAsyncMethod · 0.95

Calls 1

createWatcherFunction · 0.85

Tested by

no test coverage detected