MCPcopy
hub / github.com/yjs/yjs / typeMapDelete

Function typeMapDelete

src/ytype.js:1740–1745  ·  view source on GitHub ↗
(transaction, parent, key)

Source from the content-addressed store, hash-verified

1738 * @function
1739 */
1740export const typeMapDelete = (transaction, parent, key) => {
1741 const c = parent._map.get(key)
1742 if (c !== undefined) {
1743 c.delete(transaction)
1744 }
1745}
1746
1747/**
1748 * @param {Transaction} transaction

Callers 1

applyDeltaMethod · 0.85

Calls 2

getMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…