Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
method default.prototype.initialize
import { default } from "https://deno.land/std@0.178.0/wasi/snapshot_preview1.ts";

Attempt to initialize instance as a reactor by invoking its _initialize() export.

If instance contains a _start() export, then an exception is thrown.

The instance must also have a WebAssembly.Memory export named "memory" which will be used as the address space, if it does not an error will be thrown.