UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

8 lines • 543 B
import type { LucidClientLike, LucidDatabaseLike } from './lucid.js'; /** * A synchronous SQLite driver cannot wait for another writer in this process while that writer * needs the JS event loop to finish its transaction. Queue our own transactions before opening * them; actual database locks and proposal version fences still govern other processes. */ export declare function withStoreTransaction<T>(db: LucidDatabaseLike, callback: (client: LucidClientLike) => Promise<T>): Promise<T>; //# sourceMappingURL=sqlite-transactions.d.ts.map