Type alias WASIContextOptions

WASIContextOptions: {
    args: string[];
    debug: DebugFn;
    env: Record<string, string>;
    fs: WASIFS;
    isTTY: boolean;
    stderr: ((err) => void);
    stdin: ((maxByteLength) => string | null);
    stdout: ((out) => void);
}

Type declaration

  • args: string[]
  • debug: DebugFn
  • env: Record<string, string>
  • fs: WASIFS
  • isTTY: boolean
  • stderr: ((err) => void)
      • (err): void
      • Parameters

        • err: string

        Returns void

  • stdin: ((maxByteLength) => string | null)
      • (maxByteLength): string | null
      • Parameters

        • maxByteLength: number

        Returns string | null

  • stdout: ((out) => void)
      • (out): void
      • Parameters

        • out: string

        Returns void

Generated using TypeDoc