Skip to main content

notification_stream

Function notification_stream 

Source
pub fn notification_stream(
    subscribe_type: SubscribeType,
    receiver: UnboundedReceiver<SubscriptionEvent>,
    snapshot: MetaSnapshot,
) -> impl Stream<Item = Result<SubscribeResponse, Status>>
Expand description

Emit the assembled snapshot first, then post-marker deltas in their original channel order. This does no snapshot reads and retains no state locks across stream yields.