MCPcopy Index your code
hub / github.com/Starcounter-Jack/JSON-Patch / Observer

Interface Observer

module/duplex.d.ts:2–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { Operation } from './core.js';
2export interface Observer<T> {
3 object: T;
4 patches: Operation[];
5 unobserve: () => void;
6 callback: (patches: Operation[]) => void;
7}
8/**
9 * Detach an observer from an object
10 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…