wait_and_then

Function wait_and_then 

Source
pub fn wait_and_then<E, Fut, F, T>(
    f: F,
    r: impl FnOnce(T) -> AnyView + Send + 'static,
) -> AnyView
where Fut: Future<Output = Result<T, ServerFnError<E>>> + Send + 'static, F: Fn() -> Fut + Send + Sync + 'static, T: Send + Sync + Clone + 'static + Serialize + for<'de> Deserialize<'de>, E: Display + Clone + Serialize + for<'de> Deserialize<'de> + Send + Sync + 'static,