MCPcopy Create free account
hub / github.com/cloudflare/agents / _observe

Method _observe

packages/shell/src/filesystem.ts:315–322  ·  view source on GitHub ↗
(type: string, payload: Record<string, unknown>)

Source from the content-addressed store, hash-verified

313 }
314
315 private _observe(type: string, payload: Record<string, unknown>): void {
316 wsChannel.publish({
317 type,
318 name: this._name,
319 payload: { ...payload, namespace: this.namespace },
320 timestamp: Date.now()
321 });
322 }
323
324 // ── Lazy table init ─────────────────────────────────────────────
325

Callers 10

readFileMethod · 0.95
readFileBytesMethod · 0.95
writeFileBytesMethod · 0.95
writeFileMethod · 0.95
readFileStreamMethod · 0.95
deleteFileMethod · 0.95
mkdirMethod · 0.95
rmMethod · 0.95
cpMethod · 0.95
mvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected