pub async fn wait_ingress(
        &self,
        request_id: MessageId,
        deadline: Instant,
        canister_id: &CanisterId,
    ) -> Result<RequestStatus, String> {
        let cbor = self
            .request_status_once(request_id.clone(), deadline, canister_id)
            .await?;
        parse_read_state_response(&request_id, cbor)
    }
/// Requests the status of a pending canister update call request exactly
/// once using the `read_state` API.
///
/// This is intended to be used in a loop until a final state is reached.
Requests the status of a pending canister update call request exactly
once using the `read_state` API.

This is intended to be used in a loop until a final state is reached.
Requests the status of a pending canister update call request exactly once using the ` read_state ` API . This is intended to be used in a loop until a final state is reached .
pub async fn wait_ingress(
        &self,
        request_id: MessageId,
        deadline: Instant,
        canister_id: &CanisterId,
    ) -> Result<RequestStatus, String> {
        let cbor = self
            .request_status_once(request_id.clone(), deadline, canister_id)
            .await?;
        parse_read_state_response(&request_id, cbor)
    }
pub async fn wait_ingress ( & self , request_id : MessageId , deadline : Instant , canister_id : & CanisterId , ) -> Result < RequestStatus , String > { let cbor = self . request_status_once ( request_id . clone ( ) , deadline , canister_id ) . await ? ; parse_read_state_response ( & request_id , cbor ) }
Requests the status of a pending canister update call request exactly
once using the `read_state` API.
Requests the status of a pending canister update call request exactly once using the ` read_state ` API .
&self
request_id
MessageId
deadline
Instant
canister_id
&CanisterId
&self
request_id
MessageId
deadline
Instant
canister_id
&CanisterId