Function ajars_actix_web::actix_web::rt::spawn[]

pub fn spawn<Fut>(f: Fut) -> JoinHandle<()>
Notable traits for JoinHandle<T>
impl<T> Future for JoinHandle<T> type Output = Result<T, JoinError>;
where
    Fut: Future<Output = ()> + 'static, 
Expand description

Spawns a future on the current thread.

Panics

Panics if Actix system is not running.