WASI
Properties
Link copied to clipboard
val wasiImport: {node/Dict<kotlin/Any?>=} ERROR CLASS: Symbol not found for Record<kotlin/String, kotlin/Any?>
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
Set up WASI host bindings to instance without calling initialize() or start(). This method is useful when the WASI module is instantiated in child threads for sharing the memory across threads.
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.