#[non_exhaustive]pub struct ViewGapParams {
pub session_id: String,
pub after: String,
pub next: String,
}Expand description
view/gap params: push delivery dropped events, and this names the hole.
The bracket is deferred: it flushes at the subscription’s next ACCEPTED
delivery, never at enqueue time, so next always names an event whose own
delivery is proven. A run of consecutive undelivered events coalesces into
one bracket keeping the FIRST range’s after. The gap rides the protected
reserved queue, so no wire-interleaving order against neighbouring
deliveries is promised — the cursors carry the semantics.
On receipt a client may take either sanctioned recovery: splice-fill —
buffer live events at cursors >= next, page (after, next) forward,
discard the overlap, splice — or re-anchor through the anchored read
surface. The server requires neither, cannot distinguish clients by their
choice, and holds no partial-fill state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: StringThe session whose subscription dropped events.
after: StringThe last cursor delivered before the hole — the exclusive lower bound of the undelivered range. An opaque view cursor: clients relay it, never parse it.
next: StringThe first cursor delivered after the hole — the exclusive upper bound of the undelivered range, and the position delivery continues from. An opaque view cursor: clients relay it, never parse it.