-
SummaryThank you for this wonderful project. I'm porting a JS library to Rust + Wasm. This library consists of simple synchronous functions, and I'm porting so that I have a single implementation that I can bind to multiple languages. The stumbling block I'm hitting is that to use this port, I have to call
I'm curious how I might work around this, with an ideal outcome being some form of simple synchronous behavior. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We do export a function called See the example. |
Beta Was this translation helpful? Give feedback.
We do export a function called
initSync
which you could use instead of the default.But you have to somehow fetch the Wasm file which is usually asynchronous by nature.
See the example.