Function coroutines::fast_spawn
[−]
[src]
pub fn fast_spawn<T: Send + 'static, F: FnOnce() -> T + Send + 'static>(
entry: F
)
Spawns a coroutine without building a JoinHandle
.
This may be faster than spawn
in some cases.