macro_rules! rumtk_spawn_task {
( $func:expr ) => { ... };
( $rt:expr, $func:expr ) => { ... };
}Expand description
Puts task onto the runtime queue.
The parameters to this macro are a reference to the runtime (rt) and a future (func).
The return is a [thread_primitives::JoinHandle