Function uasync::spawn

source · []
pub fn spawn<F>(future: F) -> JoinHandle<F::Output>
Notable traits for JoinHandle<T>
impl<T> Future for JoinHandle<T> type Output = Result<T, JoinError>;
where
    F: Future + Send + 'static,
    F::Output: Send + 'static,