expect_action

Function expect_action 

Source
pub async fn expect_action<T: ActorEntity>(
    receiver: &mut Receiver<ResourceRequest<T>>,
) -> Option<(T::Id, T::Action, Sender<Result<T::ActionResult, FrameworkError>>)>
Expand description

Helper to verify that the next message is an Action request