web-csv-toolbox - v0.14.0
    Preparing search index...

    Interface QueuingStrategyConfigExperimental

    Internal streaming queuing strategies configuration.

    Controls the internal queuing behavior of the CSV parser's streaming pipeline. This affects memory usage and backpressure handling for large streaming operations.

    The CSV parser uses a two-stage pipeline:

    1. Lexer: String → Token
    2. Assembler: Token → CSVRecord

    Each stage has both writable (input) and readable (output) sides.

    This API may change in future versions based on performance research.

    interface QueuingStrategyConfig {
        assemblerReadable?: QueuingStrategy<CSVObjectRecord<any>>;
        assemblerWritable?: QueuingStrategy<Token>;
        lexerReadable?: QueuingStrategy<Token>;
        lexerWritable?: QueuingStrategy<string>;
    }
    Index

    Properties

    assemblerReadable?: QueuingStrategy<CSVObjectRecord<any>>

    Queuing strategy for the assembler's readable side (record output).

    Controls how CSV records are buffered after being assembled.

    { highWaterMark: 256 } (256 records)

    assemblerWritable?: QueuingStrategy<Token>

    Queuing strategy for the assembler's writable side (token input).

    Controls how tokens are buffered before being processed by the assembler. This is the input side of the assembler, receiving tokens from the lexer.

    { highWaterMark: 1024 } (1024 tokens)

    lexerReadable?: QueuingStrategy<Token>

    Queuing strategy for the lexer's readable side (token output).

    Controls how tokens are buffered after being produced by the lexer before being consumed by the assembler.

    { highWaterMark: 1024 } (1024 tokens)

    lexerWritable?: QueuingStrategy<string>

    Queuing strategy for the lexer's writable side (string input).

    Controls how string chunks are buffered before being processed by the lexer.

    { highWaterMark: 65536 } (≈64KB of characters)