[][src]Function actori::spawn

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

Spawns a future on the current arbiter.

Panics

This function panics if the actori system is not running.