Skip to content

Commit

Permalink
update template code
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Sep 9, 2024
1 parent 4525619 commit 6f8b5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter_ffi_plugin/template/native/hub/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ rinf::write_interface!();
// If you really need to use blocking code,
// use `tokio::task::spawn_blocking`.
#[tokio::main(flavor = "current_thread")]
async fn main() {
async fn main() -> Result<()> {
// Spawn the concurrent tasks.
tokio::spawn(communicate());

Expand Down

0 comments on commit 6f8b5a1

Please sign in to comment.