Function wait_local

Source
pub fn wait_local<V: IntoView + 'static, Out: 'static + Send + Sync + Clone, Fut: Future<Output = Option<Out>> + 'static + Send, F: Fn() -> Fut + 'static>(
    future: F,
    children: impl Fn(Out) -> V + 'static + Send,
    err: String,
) -> impl IntoView