Expand description
Signal graph management and runtime.
Structs§
- Signal
Handle - Handle to a particular node of the signal graph, returned by
SignalExt::register,SignalVecExt::register, andSignalMapExt::register. In order for signals to be appropriately cleaned up, for every call to.registermade to some particular signal or its clones,SignalHandle::cleanupmust be called on a correspondingSignalHandleor a downstreamSignalHandle. AddingSignalHandles to theSignalHandlesComponentwill take care of this when the correspondingEntityis despawned, and using theJonmoBuilderwill manage this internally. - Signal
Handles - Stores
SignalHandles tied to the lifetime of someEntity,.cleanup-ing them when theEntityis despawned. - Signal
System - Newtype wrapper for
Entitys that hold systems in the signal graph.
Traits§
Functions§
- downcast_
any_ clone - Utility function for extracting values from
AnyClones, e.g. those returned bypoll_signal. - poll_
signal - Get a signal’s current value by running all of it’s dependencies.