use crateLogType;
use Future;
use JoinHandle;
use spawn_local;
// #[cfg(target_arch = "wasm32")]
// pub(crate) fn spawn<F>(future: F)
// where
// F: Future<Output = ()> + 'static,
// {
// spawn_local(future);
// }
/// Spawns a future on the current Tokio runtime.
///
/// # Returns
///
/// A [`tokio::task::JoinHandle`] that can be awaited for the future output.