Skip to content

Is it possible to get an String when calling a wasm function with js_sys? #2952

Answered by Xoffio
Xoffio asked this question in Q&A
Discussion options

You must be logged in to vote

After days of learning and exploring. I can now answer this question. Short answer is "yes you can" but you would have to manage the "translation" of the function since wasm does not returns strings. If someone out there needs to know more about the issue you can check this code where I show how, and this Stack Overflow post

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Xoffio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant