Skip to main content

next_update

Function next_update 

Source
async fn next_update(
    updates: &mut Option<(UnboundedReceiver<SeatUpdate>, bool)>,
) -> Option<SeatUpdate>
Expand description

The stream’s next update, or a future that never resolves while there is none - which is what keeps the branch out of the way until the client has subscribed and the role is known.