Trait bevy_defer::async_systems::AsyncEntityParam
source · pub trait AsyncEntityParam: Sized {
type Signal: Send + Sync + 'static;
// Required methods
fn fetch_signal(signals: &Signals) -> Option<Self::Signal>;
fn from_async_context(
entity: Entity,
queue: &Reactors,
signal: Self::Signal,
children: &[Entity]
) -> Option<Self>;
}
Expand description
A parameter of an AsyncSystem
.
Required Associated Types§
Required Methods§
sourcefn fetch_signal(signals: &Signals) -> Option<Self::Signal>
fn fetch_signal(signals: &Signals) -> Option<Self::Signal>
If not found, log what’s missing and return None.
Object Safety§
This trait is not object safe.