Structs§
- Asset
Subscriptions - Manages interest in assets. Maintains a
tokio::sync::watch::Sender
for each asset handle a client has expressed interest in.AssetSubscriptions::subscribe_to
is used to express interest in the load state for a given asset. - Load
State Stream
Traits§
Functions§
- notify_
asset_ events - 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.