| 1 | import { Operation } from './core.js'; |
| 2 | export 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 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…