MCPcopy Index your code
hub / github.com/SplootCode/splootcode / fireMutation

Method fireMutation

packages/core/src/language/childset.ts:62–67  ·  view source on GitHub ↗
(mutation: ChildSetMutation)

Source from the content-addressed store, hash-verified

60 }
61
62 fireMutation(mutation: ChildSetMutation) {
63 this.mutationObservers.forEach((observer: ChildSetObserver) => {
64 observer.handleChildSetMutation(mutation)
65 })
66 globalMutationDispatcher.handleChildSetMutation(mutation)
67 }
68
69 registerObserver(observer: ChildSetObserver) {
70 this.mutationObservers.push(observer)

Callers 2

insertNodeMethod · 0.95
removeChildMethod · 0.95

Calls 1

Tested by

no test coverage detected