Function freya::prelude::use_resource  
pub fn use_resource<T, F>(future: impl Fn() -> F + 'static) -> Resource<T>where
    T: 'static,
    F: Future<Output = T> + 'static,Expand description
A memo that resolve to a value asynchronously.
This runs on the server