alloy_transport

Macro impl_future

Source
macro_rules! impl_future {
    (<$($t:tt)+) => { ... };
}
Expand description

Macro that return an impl Future type, with a Send bound on non-wasm targets.

ยงExamples

fn my_async_fn() -> futures_utils_wasm::impl_future!(<Output = ()>) {
    async {}
}