@runno/runtime
    Preparing search index...

    Type Alias RuntimeMethods

    type RuntimeMethods = {
        getEditorProgram: () => Promise<string>;
        headlessRunCode: (
            runtime: Runtime,
            code: string,
            stdin?: string,
        ) => Promise<RunResult>;
        headlessRunFS: (
            runtime: Runtime,
            entryPath: string,
            fs: WASIFS,
            stdin?: string,
        ) => Promise<RunResult>;
        hideControls: () => void;
        hideEditor: () => void;
        interactiveRunCode: (runtime: Runtime, code: string) => Promise<RunResult>;
        interactiveRunFS: (
            runtime: Runtime,
            entryPath: string,
            fs: WASIFS,
        ) => Promise<RunResult>;
        interactiveStop: () => void;
        setEditorProgram: (syntax: Syntax, runtime: Runtime, code: string) => void;
        showControls: () => void;
        showEditor: () => void;
    }

    Implemented by

    Index

    Properties

    getEditorProgram: () => Promise<string>
    headlessRunCode: (
        runtime: Runtime,
        code: string,
        stdin?: string,
    ) => Promise<RunResult>
    headlessRunFS: (
        runtime: Runtime,
        entryPath: string,
        fs: WASIFS,
        stdin?: string,
    ) => Promise<RunResult>
    hideControls: () => void
    hideEditor: () => void
    interactiveRunCode: (runtime: Runtime, code: string) => Promise<RunResult>
    interactiveRunFS: (
        runtime: Runtime,
        entryPath: string,
        fs: WASIFS,
    ) => Promise<RunResult>
    interactiveStop: () => void
    setEditorProgram: (syntax: Syntax, runtime: Runtime, code: string) => void
    showControls: () => void
    showEditor: () => void