macro_rules! go_with {
($stack_size:expr, $func:expr) => { ... };
($name: expr, $stack_size:expr, $func:expr) => { ... };
}
Expand description
macro used to spawn a coroutine with options such as name, stack_size.
this macro is just a convenient wrapper for spawn
.
However the supplied coroutine block is not wrapped in unsafe
block