MCPcopy Create free account
hub / github.com/tinyplex/tinybase / startTransaction

Function startTransaction

docs/pseudo.esm.sh/tinybase@9.0.0/index.js:2134–2143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2132 }
2133 };
2134 const startTransaction = () => {
2135 if (transactions != -1) {
2136 transactions++;
2137 }
2138 if (transactions == 1) {
2139 internalListeners[0]?.();
2140 callListeners(startTransactionListeners);
2141 }
2142 return store;
2143 };
2144 const getTransactionChanges = () => getTransactionChangesImpl();
2145 const getEncodedTransactionChanges = () => getTransactionChangesImpl(true);
2146 const getTransactionLog = () => [

Callers 1

transactionFunction · 0.70

Calls 1

callListenersFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…