wip: threadsafe

This commit is contained in:
Jonathan Kelley committed 2021-10-01 02:07:12 -04:00
1 parent 71f0df6374
commit 82953f2ac3
22 files changed
+414 -545

No files matched your search

+3 -2
View File
@@ -6,8 +6,9 @@ the `TaskHandle` object.
use dioxus::prelude::*;
use gloo_timers::future::TimeoutFuture;
fn main() {
dioxus::desktop::launch(App, |c| c).unwrap();
#[tokio::main]
async fn main() {
dioxus::desktop::launch(App, |c| c).await;
}
pub static App: FC<()> = |cx, _| {