wasm: add instantiateStreaming support
This commit adds instantiateStreaming support to allow for some compatability with Web browser environments.
Refs: https://github.com/nodejs/node/issues/21130
Whether or not this feature should be added as been discussed in above referenced issue. My motivation for wanting this is to allow a developer to write code that could be used in both web browser environments and in node.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines