Function trillium_testing::spawn

source ยท
pub fn spawn<Fut, Out>(
    future: Fut,
) -> SpawnHandle<impl Future<Output = Option<Out>>>
where Fut: Future<Output = Out> + Send + 'static, Out: Send + 'static,
Expand description

smol-based spawn variant that finishes whether or not the returned future is dropped