Let's say you are building a GUI application with Egui.You want to make start a certain task when you click a button. You can simply write code like this. if ui.button("click me").clicked() { start_task(); } But what if that task takes 10 second...