mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-06 23:44:36 +00:00
feat(agent): implement atomic acceptance and coherent observation
This commit is contained in:
parent
8a92c81857
commit
beac75ecc2
30 changed files with 2355 additions and 711 deletions
|
|
@ -12,6 +12,7 @@ import type {
|
|||
SessionMutator,
|
||||
SessionStats,
|
||||
SessionTree,
|
||||
StorageBranchScan,
|
||||
StoredValue,
|
||||
Value,
|
||||
ValueList,
|
||||
|
|
@ -86,6 +87,10 @@ export class SqliteOpenSession implements Session<SqliteSessionMetadata> {
|
|||
return this.admit(() => this.session.readList(address, options, context));
|
||||
}
|
||||
|
||||
scanBranch(query: StorageBranchScan, context: Context): Promise<Entry[]> {
|
||||
return this.admit(() => this.session.scanBranch(query, context));
|
||||
}
|
||||
|
||||
view(lane: string): SessionTree {
|
||||
const view = this.session.view(lane);
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue