Skip to main content
Module

x/sane_fmt/std/wasi.ts>Context#initialize

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