MCPcopy Create free account
hub / github.com/Starcounter-Jack/JSON-Patch / Observer

Interface Observer

src/duplex.ts:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { applyPatch, Operation } from './core.js';
8
9export interface Observer<T> {
10 object: T;
11 patches: Operation[];
12 unobserve: () => void;
13 callback: (patches: Operation[]) => void;
14}
15
16var beforeDict = new WeakMap();
17

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected