-
Documentation:
If the command returns an error, the promise will reject, otherwise, it resolves:
In rust I have:
The |
Beta Was this translation helpful? Give feedback.
Answered by
KimdowEin
Mar 22, 2025
Replies: 1 comment 1 reply
-
#[wasm_bindgen(catch)] more info from wasm-bindgen book(I forget the url), or ask me and I will response when I get my computer |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
webmstk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#[wasm_bindgen(catch)]
pub fn async invoke ... -> Result<Jsvalue,Jsvalue>
more info from wasm-bindgen book(I forget the url), or ask me and I will response when I get my computer