Skip to main content
Module

x/sane_fmt/std/wasi.ts>default#start

Opinionated code formatter for TypeScript and JavaScript
Go to Latest
method default.prototype.start
import { default } from "https://deno.land/x/sane_fmt@0.13.0/std/wasi.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