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

Attempt to begin execution of instance as a command by invoking its _start() export.

If the instance does not contain a _start() export, or if the instance contains an _initialize export an error will be 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.

Returns

null | number | never