MCPcopy Create free account
hub / github.com/clientdb/clientdb / getEntityChanges

Function getEntityChanges

core/transaction.ts:140–142  ·  view source on GitHub ↗

* Note: * * functions below are usually used together, but they're explicitly small to avoid them being too magical and hard to understand

(entity: AnyEntity)

Source from the content-addressed store, hash-verified

138 */
139
140function getEntityChanges(entity: AnyEntity) {
141 return entityChanges.get(entity);
142}
143
144function reapplyEntityChange(change: Change) {
145 const { entity } = change;

Callers 3

removeChangeFunction · 0.85
deregisterEntityChangeFunction · 0.85
rebaseEntityChangesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected