pub async fn collect_incoming_key_requests(&self) -> OlmResult<()> {
        for item in self.incoming_key_requests.iter() {
            let event = item.value();
            self.handle_key_request(event).await?;
        }

        self.incoming_key_requests.clear();

        Ok(())
    }
/// Handle all the incoming key requests that are queued up and empty our
/// key request queue.
Handle all the incoming key requests that are queued up and empty our
key request queue.
Handle all the incoming key requests that are queued up and empty our key request queue .
pub async fn collect_incoming_key_requests(&self) -> OlmResult<()> {
        for item in self.incoming_key_requests.iter() {
            let event = item.value();
            self.handle_key_request(event).await?;
        }
        self.incoming_key_requests.clear();
        Ok(())
    }
pub async fn collect_incoming_key_requests ( & self ) -> OlmResult < ( ) > { for item in self . incoming_key_requests . iter ( ) { let event = item . value ( ) ; self . handle_key_request ( event ) . await ? ; } self . incoming_key_requests . clear ( ) ; Ok ( ( ) ) }
Handle all the incoming key requests that are queued up and empty our
key request queue.
Handle all the incoming key requests that are queued up and empty our key request queue .
&self
&self