Function actix_rt::spawn[][src]

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

Spawns a future on the current arbiter.

Panics

This function panics if actix system is not running.