Buffer for Streamable HTTP messages that had no live stream to deliver to,
enabling SSE resumability via Last-Event-ID.
The default implementation is a bounded per-session ETS ring buffer owned by the server's supervision tree (node-local — multi-node deployments need sticky sessions or a custom store).
Summary
Functions
Append a message; returns its event id.
Returns a specification to start this module under a supervisor.
Drop a session's buffered events (e.g. on session termination).
All buffered {event_id, binary} for a session after last_event_id (nil = all).
Types
@type event_id() :: String.t()
Functions
Append a message; returns its event id.
Returns a specification to start this module under a supervisor.
See Supervisor.
Drop a session's buffered events (e.g. on session termination).
All buffered {event_id, binary} for a session after last_event_id (nil = all).