Function ntex_util::spawn[][src]

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

Spawn a future on the current thread.

Panics

This function panics if spawn fn is not set.