Skip to main content

Module events

Module events 

Source
Expand description

Semantic events emitted by the L1 processor.

Subscribe via LiveHandle::events() (broadcast receiver) or LiveHandle::stream() (a [futures_util::Stream]). Sending with no subscribers is a no-op.

Structs§

LiveEventStream
A [futures_util::Stream] of LiveEvents from a Live session.

Enums§

LiveEvent
Semantic events emitted by the Live session processor.

Constants§

DEFAULT_EVENT_CAPACITY
How many LiveEvents a subscriber can fall behind before it skips the oldest, unless LiveSessionBuilder::event_capacity says otherwise. Matches the depth the wire layer gives its own subscribers (TransportConfig::event_channel_capacity).