wip: threadsafe
This commit is contained in:
1 parent
71f0df6374
commit
82953f2ac3
22 files changed
+414
-545
No files matched your search
+3
-2
@@ -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, _| {
|
||||
|
||||
Reference in new issue
Block a user