gespenst API - v0.1.0
    Preparing search index...

    Interface WasmerShellSession

    Managed byte streams and lifecycle for a running Wasmer shell.

    interface WasmerShellSession {
        capabilities: WasmerShellCapabilities;
        error: Error | undefined;
        exit: Promise<WasmerProcessOutput>;
        status: WasmerShellStatus;
        transport: TerminalTransport;
        close(): Promise<WasmerProcessOutput>;
        dispose(): void;
        onStatusChange(listener: (status: WasmerShellStatus) => void): Disposable;
    }

    Hierarchy (View Summary)

    Index

    Process capabilities that integrations may feature-detect.

    error: Error | undefined

    Failure that moved the session into the error state.

    exit: Promise<WasmerProcessOutput>

    Resolves with captured output and status when the process exits.

    Current lifecycle state.

    Terminal-compatible byte streams. They may be connected once.