WASI
Properties
Link copied to clipboard
wasiImport
is an object that implements the WASI system call API. This object should be passed as the wasi_snapshot_preview1
import during the instantiation of a WebAssembly.Instance
.
Functions
Link copied to clipboard
Return an import object that can be passed to WebAssembly.instantiate()
if no other WASM imports are needed beyond those provided by WASI.
Link copied to clipboard
Attempt to initialize instance
as a WASI reactor by invoking its _initialize()
export, if it is present. If instance
contains a _start()
export, then an exception is thrown.