// Copyright (c) Tribufu. All Rights Reserved. use std::future::Future; use std::pin::Pin; #[cfg(not(target_arch = "wasm32"))] pub type BoxedFuture<'a, T> = Pin + Send + 'a>>; #[cfg(target_arch = "wasm32")] pub type BoxedFuture<'a, T> = Pin + 'a>>;