MCPcopy Index your code
hub / github.com/tinyplex/tinybase / _acquireExecuteLock

Function _acquireExecuteLock

test/unit/persisters/common/databases.ts:147–149  ·  view source on GitHub ↗
(callback: any)

Source from the content-addressed store, hash-verified

145 return result;
146 };
147 const _acquireExecuteLock = (callback: any) => {
148 return statementMutex.runExclusive(callback);
149 };
150 return {
151 execute: async (sql: string, bindings: any[]): Promise<any> =>
152 _acquireExecuteLock(async () => executeSingle(sql, bindings)),

Callers 1

getPowerSyncDatabaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…