VMPrint API Reference - v1.0.0
    Preparing search index...

    Interface VmprintOutputStream

    A minimal, portable output stream that a Context can write rendered output into. Implementations are provided by the caller (e.g. the CLI), keeping I/O concerns out of the context itself. A context that does not support streaming may implement pipe() as a no-op.

    interface VmprintOutputStream {
        end(): void;
        waitForFinish(): Promise<void>;
        write(chunk: string | Uint8Array<ArrayBufferLike>): void;
    }
    Index

    Methods

    • Returns Promise<void>

    • Parameters

      • chunk: string | Uint8Array<ArrayBufferLike>

      Returns void