Function actix_web::actix::spawn

source ·
pub fn spawn<F>(f: F)where
    F: 'static + Future<Item = (), Error = ()>,
Expand description

Spawns a future on the current arbiter.

Panics

This function panics if actix system is not running.