MCPcopy Create free account
hub / github.com/codemix/graph / transact

Method transact

packages/y-graph-storage/src/YGraphStorage.ts:416–418  ·  view source on GitHub ↗
(callback: (tx: Y.Transaction) => void)

Source from the content-addressed store, hash-verified

414 }
415
416 protected transact(callback: (tx: Y.Transaction) => void): void {
417 this.#doc.transact(callback);
418 }
419}

Callers 4

addVertexMethod · 0.95
deleteVertexMethod · 0.95
addEdgeMethod · 0.95
deleteEdgeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected