Is the following not allowed? If so, what is the fix? Notice the async
#[wasm_bindgen(start)]
pub async fn main() {
game_client::run().await
}
Is the following not allowed? If so, what is the fix? Notice the async
#[wasm_bindgen(start)]
pub async fn main() {
game_client::run().await
}
#[wasm_bindgen(start)]
pub async fn main() {
wasm_bindgen_futures::spawn_local(game_client::run())
}
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.