crnt - v0.0.31
    Preparing search index...

    Interface MapOption

    Configuration options for Stream.map operations.

    interface MapOption {
        concurrency?: number;
        preserveOrder?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    concurrency?: number

    Maximum number of concurrent tasks.

    • For map(): Controls how many individual items are processed concurrently
    • For mapBatch(): Controls how many batches are processed concurrently
    1
    
    preserveOrder?: boolean

    Whether to preserve the order of results.

    When true, results are yielded in the same order as the input items, which may reduce throughput as processing waits for earlier items to complete. When false, results are yielded as soon as they're available.

    false