Function trillium_testing::spawn
source ยท pub fn spawn<Fut, Out>(
future: Fut,
) -> SpawnHandle<impl Future<Output = Option<Out>>>
Expand description
smol-based spawn variant that finishes whether or not the returned future is dropped
pub fn spawn<Fut, Out>(
future: Fut,
) -> SpawnHandle<impl Future<Output = Option<Out>>>
smol-based spawn variant that finishes whether or not the returned future is dropped