Function waiting_message_action

Source
pub fn waiting_message_action<I: Clone + Send + Sync + 'static, O, E: Display + Send + 'static, V: Display + Send + 'static, Fut: Future<Output = Result<O, E>> + Send + 'static>(
    run: impl Fn(&I) -> Fut + Send + Sync + Clone + 'static,
    msg: impl Fn(O) -> V + Send + Sync + Clone + 'static,
) -> (Action<I, ()>, impl IntoView)