pub async fn receive_final(mut self) -> Result<TsxResponse> {
        loop {
            let response = self.receive().await?;

            if let CodeKind::Provisional = response.line.code.kind() {
                // ignore
                continue;
            }

            return Ok(response);
        }
    }
/// Calls [`ClientTsx::receive`] and discards all provisional responses
/// until it receives the final one, returning it.
Calls [`ClientTsx::receive`] and discards all provisional responses
until it receives the final one, returning it.
Calls [ ` ClientTsx :: receive ` ] and discards all provisional responses until it receives the final one returning it .
pub async fn receive_final(mut self) -> Result<TsxResponse> {
        loop {
            let response = self.receive().await?;
            if let CodeKind::Provisional = response.line.code.kind() {
                // ignore
                continue;
            }
            return Ok(response);
        }
    }
pub async fn receive_final ( mut self ) -> Result < TsxResponse > { loop { let response = self . receive ( ) . await ? ; if let CodeKind :: Provisional = response . line . code . kind ( ) { // ignore continue ; } return Ok ( response ) ; } }
Calls [`ClientTsx::receive`] and discards all provisional responses
until it receives the final one, returning it.
Calls [ ` ClientTsx :: receive ` ] and discards all provisional responses until it receives the final one returning it .
mut self