Skip to main content

request

Function request 

Source
pub async fn request<M: Message>(
    recipient: &dyn Receiver<M>,
    msg: M,
    timeout_duration: Duration,
) -> Result<M::Result, ActorError>
Expand description

Send a request through a type-erased Receiver with a custom timeout.