pub fn wait_and_then_fn<E, Fut, F, T, V: IntoView + 'static>( f: F, r: impl Fn(T) -> V + 'static + Send, ) -> impl IntoViewwhere Fut: Future<Output = Result<T, ServerFnError<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 + 'static,