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

Method watchAsync

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

Source from the content-addressed store, hash-verified

699 }
700
701 watchAsync(path: string, options: WatchOptions = {}): AsyncIterable<WatchEvent> {
702 return createWatchAsyncIterable(this.watch(path, options));
703 }
704
705 // watchFile / unwatchFile fire on stat changes at a single path
706 // (not the directory under it). Different semantics from watch();

Callers 2

mountShimFunction · 0.80

Calls 2

watchMethod · 0.95
createWatchAsyncIterableFunction · 0.85

Tested by

no test coverage detected