Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
288
export
function
getCurrentTransaction() {
289
return
currentTransaction;
290
}
291
292
export
function
runTransaction<R>(callback: () => R) {
293
if
(currentTransaction) {
Callers
1
createEntityClient
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected