mogami-stream - v0.2.0
    Preparing search index...

    Interface MapOptions

    Concurrency, ordering, capacity, and retry options for map and mapSettled.

    interface MapOptions {
        capacity?: number;
        concurrency?: number;
        ordered?: boolean;
        retry?: RetryOptions;
    }

    Hierarchy

    • BoundedMapOptions
      • MapOptions
    Index
    capacity?: number

    Maximum number of items held in the stage at once (pending reads, active mappers, and buffered outputs). Must be a safe integer >= concurrency. Defaults to concurrency.

    concurrency?: number

    Maximum number of items being read or mapped at the same time. Must be a positive safe integer. Defaults to 1.

    ordered?: boolean

    When true, emits results in input order; when false, emits results as they complete. Defaults to true.

    retry?: RetryOptions

    Optional retry policy for failed mapper calls.