Function dioxus::prelude::use_suspense[][src]

pub fn use_suspense<R, F>(
    cx: &ScopeState,
    create_future: impl FnOnce() -> F,
    render: impl FnOnce(&R) -> Option<VNode<'_>>
) -> Option<VNode<'_>> where
    R: 'static,
    F: 'static + Future<Output = R>,