Function freya::prelude::use_callback

pub fn use_callback<T, R, F>(
    cx: &ScopeState,
    make: impl FnOnce() -> R
) -> impl FnMut(T)where
    R: FnMut(T) -> F + 'static,
    F: Future<Output = ()> + 'static,