- 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().
推薦閱讀
- 手機安全和可信應(yīng)用開發(fā)指南:TrustZone與OP-TEE技術(shù)詳解
- Azure IoT Development Cookbook
- Python自動化運維快速入門
- Developing Middleware in Java EE 8
- GeoServer Beginner's Guide(Second Edition)
- TradeStation交易應(yīng)用實踐:量化方法構(gòu)建贏家策略(原書第2版)
- HTML5入門經(jīng)典
- .NET 3.5編程
- 軟件品質(zhì)之完美管理:實戰(zhàn)經(jīng)典
- Instant Lucene.NET
- 汽車人機交互界面整合設(shè)計
- Android應(yīng)用開發(fā)實戰(zhàn)
- 網(wǎng)絡(luò)數(shù)據(jù)采集技術(shù):Java網(wǎng)絡(luò)爬蟲實戰(zhàn)
- Android系統(tǒng)下Java編程詳解
- C/C++程序設(shè)計教程