Function xmpp::event_loop::wait_for_events

source ยท
pub async fn wait_for_events<C: ServerConnector>(
    agent: &mut Agent<C>,
) -> Vec<Event>
Expand description

Wait for new events, or Error::Disconnected when stream is closed and will not reconnect.