expect_create

Function expect_create 

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

Helper to verify that the next message is a Create request