Expand description
forge is a mini submodule which provides alternative method to create and run events
after a certain duration of time. Obvious approach to tackle such events is to use
Timer. Alternatively,
if you want a more rust facing interface (where timed events are not managed inside
.slint files and rather directly created in rust code), you can use
Forge
§Use Cases
This module can easily be used in creating various timed events which are very common while making shells. For example, it can be used for retriving:-
- Battery Percentage after certain time.
- Possible PowerProfiles and changes.
- CPU and Temperature Analytics etc.
Structs§
- Forge
- An instance of Forge takes the LoopHandle of your window as input for instance creation. It is currently not usable because of latency issues. A macro build is in progress to fix latency issues and provide a more streamlined overview.