use some_executor::SomeExecutor;
use some_executor::observer::Observer;
use some_executor::task::{Configuration, Task};
pub fn main() {
#[cfg(target_arch = "wasm32")]
wasm_lite::set_panic_hook();
app_window::application::main(|| {
let task =
Task::without_notifications("alert".to_string(), Configuration::default(), async {
app_window::alert("Hello World".to_string()).await;
});
some_executor::current_executor::current_executor()
.spawn_objsafe(task.into_objsafe())
.detach();
});
}