官术网_书友最值得收藏!

  • Learn WebAssembly
  • Mike Rourke
  • 67字
  • 2021-08-13 15:38:54

WebAssembly.Instance

The WebAssembly.Instance object is the instantiated WebAssembly module, which means you can call exported WebAssembly functions from it. Calling instantiate() or instantiateStreaming() returns a Promise that resolves with an object containing an instance. You call WebAssembly functions by referencing the name of the function on the instance's export property. For example, if a module contained an exported function named sayHello(), you'd call the function using instance.exports.sayHello().

主站蜘蛛池模板: 阳江市| 兰州市| 洛扎县| 临高县| 武鸣县| 镇赉县| 灵台县| 肇庆市| 莎车县| 宁波市| 南城县| 剑河县| 达拉特旗| 大渡口区| 彩票| 当阳市| 彭州市| 巩留县| 海淀区| 无锡市| 和林格尔县| 屏南县| 合肥市| 青田县| 红桥区| 鄂尔多斯市| 朔州市| 长子县| 板桥市| 石屏县| 荆州市| 白玉县| 平顶山市| 宁阳县| 交口县| 安康市| 咸丰县| 辰溪县| 丹东市| 共和县| 衡南县|