wait_and_then_fn

Function wait_and_then_fn 

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