Skip to main content

next_view_event

Function next_view_event 

Source
async fn next_view_event(viewing: &mut Option<Viewing>) -> ViewEvent
Expand description

The next thing this connection’s viewer has for the loop.

A connection with no viewer parks here, so its branch is inert rather than ending the loop - the same shape next_update uses. The watch holds one value per source, so a viewer that falls behind is served the newest frame rather than a queue.