Add checked native journal/subscription bindings, managed-reference retention, bounded history and backpressure, atomic delivery receipts, and fenced hosting. Preserve source publication prediction and replica reconciliation; subscription attachment, controls, and delivery remain authoritative in this initial version. Connect independent manual/Gutenberg document producers to Reader bookshelves through typed adapters. Add connection inspection, shared provider selection, authoring documentation, and restart/rejection/fan-out integration coverage. Verified compiler suite (287 passed, two existing skips), Nix runtime and PostgreSQL qualification, five example assemblies, headless Reader integration, Chromium Reader integration, resource pins, formatting, and lint. No pinned workspace runtime was deployed.
14 lines
827 B
Plaintext
14 lines
827 B
Plaintext
// Required server support; a checked installed implementation may additionally predict locally.
|
|
interface EventStream<value Payload> id "interface:org.quixos.events:stream" revision "interface:org.quixos.events:stream@1" {
|
|
operation publish id "events:publish" : Payload -> record {publication:string;} {
|
|
call id "events:publish:call" execution transaction targets [server];
|
|
}
|
|
queryable value head id "events:head" : optional<uint64> {
|
|
get id "events:head:get" execution snapshot targets [server];
|
|
}
|
|
operation readPage id "events:read-page" : record {after:optional<string>;limit:uint32;}
|
|
-> record {entries:list<record {publication:string;position:uint64;payload:Payload;}>;next:optional<string>;asOfHead:optional<uint64>;} {
|
|
call id "events:read-page:call" execution snapshot targets [server];
|
|
}
|
|
}
|