WASI
Value members
Constructors
Concrete methods
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.
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.
start()
requires that instance
exports a WebAssembly.Memory
named
memory
. If instance
does not have a memory
export an exception is thrown.
If initialize()
is called more than once, an exception is thrown.
Attempt to begin execution of instance
by invoking its _start()
export.
If instance
does not contain a _start()
export, then start()
attempts to
invoke the __wasi_unstable_reactor_start()
export. If neither of those exports
is present on instance
, then start()
does nothing.
Attempt to begin execution of instance
by invoking its _start()
export.
If instance
does not contain a _start()
export, then start()
attempts to
invoke the __wasi_unstable_reactor_start()
export. If neither of those exports
is present on instance
, then start()
does nothing.
start()
requires that instance
exports a WebAssembly.Memory
named
memory
. If instance
does not have a memory
export an exception is thrown.
If start()
is called more than once, an exception is thrown.
Inherited methods
Concrete fields
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
.
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
.