#![no_std]
use core::future::Future;
#[cfg(not(target_family = "wasm"))]
pub trait Spawn {
fn spawn_task<F>(&self, task: F)
where
F: Future<Output = ()> + Send + 'static;
}
#[cfg(target_family = "wasm")]
pub trait Spawn {
fn spawn_task<F>(&self, task: F)
where
F: Future<Output = ()> + 'static;
}