Expand description
Best-effort live fanout for runtime events.
RuntimeStreamAdapter is inspired by the Socket.IO Adapter contract
(room-based fanout, per-room ordering, non-blocking publish) but is
not a Socket.IO implementation and carries no transport. It only moves
already-emitted envelopes to live subscribers; durability and replay live
in RuntimeEventStore.
Delivery is at-least-once. A slow consumer that falls behind receives a
RuntimeStreamError::Lagged item and may reconcile from the store.
Structs§
- Broadcast
Envelope Stream - Owned stream bridging a
broadcast::Receiverinto aStream. - Failing
Runtime Stream Adapter RuntimeStreamAdapterthat always fails. Used by tests asserting a failed publish does not panic the runtime bridge.- Memory
Runtime Stream Adapter - In-memory
RuntimeStreamAdapterfor tests and single-instance setups.
Traits§
- Runtime
Stream Adapter - Transport-neutral live fanout for runtime event envelopes.
Type Aliases§
- DynRuntime
Stream Adapter - Convenience alias for shared, trait-object stream adapters.