Macro new_async_component

Source
macro_rules! new_async_component {
    ($( #[$meta:meta] )* $fn_name:ident, $pool:ty) => { ... };
}
Expand description

Bevy doesn’t implement a common trait for task pools, so we use this macro to generate the implementation for each task pool.