Skip to main content

boxed_async_fn

Attribute Macro boxed_async_fn 

Source
#[boxed_async_fn]
Expand description

Transforms an async fn to return a Box<dyn Future<Output = T>>.

Adapted from the async_recursion crate authored by Robert Usher and licensed under MIT/APACHE-2.0.