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

Function removeObserverFromMirror

src/duplex.ts:46–48  ·  view source on GitHub ↗
(mirror: Mirror, observer)

Source from the content-addressed store, hash-verified

44}
45
46function removeObserverFromMirror(mirror: Mirror, observer): void {
47 mirror.observers.delete(observer.callback);
48}
49
50/**
51 * Detach an observer from an object

Callers 1

observeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected