Some background info:
I'm targeting both Web & Native.
In using egui & eframe (template: https://github.com/emilk/eframe_template/blob/main/src/main.rs)
Eframe has a App trait to implement for a egui application.
https://docs.rs/eframe/latest/eframe/trait.App.html
In the ui trait function you can call the egui functions to render the Ui.
However they're all sync functions, how can you call a async functions in sync?
My use case is networking with Iroh. Most functions are async.
Implement this trait to write apps that can be compiled for both web/wasm and desktop/native using eframe.