Skip to main content

Module stream

Module stream 

Source
Expand description

Transport-neutral runtime stream primitives.

This module defines the envelope, routing key, and stream type used by the runtime stream abstraction. The design is inspired by the Socket.IO Adapter rules (room-based fanout, per-room ordering, best-effort live delivery), but it is not a Socket.IO implementation and carries no transport coupling.

Structs§

RuntimeEventEnvelope
Envelope wrapping an AgentEvent with cross-instance routing metadata.
RuntimeEventId
Globally unique identifier for a single runtime event.

Enums§

RuntimeRoom
Fanout routing key, inspired by a Socket.IO room but transport-neutral.
RuntimeStreamError
Errors raised by a RuntimeStreamAdapter.

Type Aliases§

BoxRuntimeEventStream
Owned, type-erased stream of runtime event envelopes.