Interface: DeliveryFence
Defined in: packages/agentos/src/io/channels/meetings/stores/fenced-outbox.ts:18
Where a FencedOutbox keeps the runs whose deliveries are fenced. A durable implementation keeps a fence across a restart and between processes; MemoryDeliveryFence keeps it in this process alone.
Methods
fence()
fence(
runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/fenced-outbox.ts:22
Fences the run's deliveries for good; fencing a fenced run again changes nothing.
Parameters
runId
string
Returns
Promise<void>
forget()?
optionalforget(runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/fenced-outbox.ts:27
Optional. Drops the run's fence when its outbox forgets the run (an in-memory host's whole-run eviction after the retention grace). A durable fence omits it and keeps its fences.
Parameters
runId
string
Returns
Promise<void>
isFenced()
isFenced(
runId):Promise<boolean>
Defined in: packages/agentos/src/io/channels/meetings/stores/fenced-outbox.ts:20
Whether the run's deliveries are fenced.
Parameters
runId
string
Returns
Promise<boolean>