Function notify_asset_events

Source
pub fn notify_asset_events(
    subscriptions: ResMut<'_, AssetSubscriptions>,
    assets: Res<'_, AssetServer>,
)
Expand description

Notifies interested parties of changes to asset load states. Iterates asset handles registered in AssetSubscriptions and checks their load state, emitting an update to all subscribers if the state has changed.