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