Skip to main content

spawn

Function spawn 

Source
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.