pub type ObserverRunner = unsafe fn(_: DeferredWorld<'_>, observer: Entity, _: &TriggerContext, event: PtrMut<'_>, trigger: PtrMut<'_>);
Expand description
Type for function that is run when an observer is triggered.
Typically refers to the default runner that runs the system stored in the associated Observer
component,
but can be overridden for custom behavior.
See observer_system_runner
for safety considerations.