method WASI.prototype.initialize
Jump to headingWASI.prototype.initialize(instance: object): voidAttempt 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.
initialize() 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.
Parameters Jump to heading
Jump to headinginstance: objectReturn Type Jump to heading
void