Function actix::spawn[][src]

pub fn spawn<Fut>(f: Fut) -> JoinHandle<()> where
    Fut: Future<Output = ()> + 'static, 
Expand description

Spawns a future on the current thread.

Panics

Panics if Actix system is not running.