LCOV parser
    Preparing search index...

    Interface StreamOptions

    interface StreamOptions {
        allowHalfOpen?: boolean;
        autoDestroy?: boolean;
        construct?: (
            this: Transform,
            callback: (error?: Error | null) => void,
        ) => void;
        defaultEncoding?: BufferEncoding;
        destroy?: (
            this: Transform,
            error: Error | null,
            callback: (error?: Error | null) => void,
        ) => void;
        emitClose?: boolean;
        encoding?: BufferEncoding;
        fieldNames?: FieldNames;
        final?: (this: Transform, callback: (error?: Error | null) => void) => void;
        highWaterMark?: number;
        objectMode?: boolean;
        parser?: LcovParser;
        read?: (this: Transform, size: number) => void;
        readableHighWaterMark?: number;
        signal?: AbortSignal;
        writableCorked?: number;
        writableHighWaterMark?: number;
        write?: (
            this: Transform,
            chunk: any,
            encoding: BufferEncoding,
            callback: (error?: Error | null) => void,
        ) => void;
        writev?: (
            this: Transform,
            chunks: { chunk: any; encoding: BufferEncoding }[],
            callback: (error?: Error | null) => void,
        ) => void;
    }

    Hierarchy

    • Omit<
          TransformOptions,
          | "transform"
          | "flush"
          | "writableObjectMode"
          | "readableObjectMode"
          | "decodeStrings",
      >
      • StreamOptions
    Index

    Properties

    allowHalfOpen?: boolean
    autoDestroy?: boolean
    construct?: (this: Transform, callback: (error?: Error | null) => void) => void
    defaultEncoding?: BufferEncoding
    destroy?: (
        this: Transform,
        error: Error | null,
        callback: (error?: Error | null) => void,
    ) => void
    emitClose?: boolean
    encoding?: BufferEncoding
    fieldNames?: FieldNames

    The field names to use for parsing. These will only be used if StreamOptions#parser is not present.

    final?: (this: Transform, callback: (error?: Error | null) => void) => void
    highWaterMark?: number
    objectMode?: boolean
    parser?: LcovParser

    A parser instance that should be used for parsing instead of creating a new one internally.

    read?: (this: Transform, size: number) => void
    readableHighWaterMark?: number
    signal?: AbortSignal

    When provided the corresponding AbortController can be used to cancel an asynchronous action.

    writableCorked?: number
    writableHighWaterMark?: number
    write?: (
        this: Transform,
        chunk: any,
        encoding: BufferEncoding,
        callback: (error?: Error | null) => void,
    ) => void
    writev?: (
        this: Transform,
        chunks: { chunk: any; encoding: BufferEncoding }[],
        callback: (error?: Error | null) => void,
    ) => void