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

Function getCurrentTransaction

core/transaction.ts:288–290  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286}
287
288export function getCurrentTransaction() {
289 return currentTransaction;
290}
291
292export function runTransaction<R>(callback: () => R) {
293 if (currentTransaction) {

Callers 1

createEntityClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected