Don't use `readFileSync` to read wasm file
Closed this issue · 2 comments
libre-man commented
Right now on node the library uses readFileSync
to read the wasm file, this blocks the entire process while the wasm file is being read. Please use fs/promises::readFile
instead which returns a promise. This change can be made (let me know if you want a PR) without any API change.
bokuweb commented
@libre-man Thanks. I see, could you please create PR?