Function genSort

  • This takes N generators that yield data in a sorted order and combines their outputs in a fully sorted order. This will only work on pre-sorted outputs from the generator.

    Type Parameters

    • T

    Parameters

    • sortFn: ((a, b) => number)
        • (a, b): number
        • Parameters

          • a: T
          • b: T

          Returns number

    • Rest ...gens: AsyncGenerator<T, void, void>[]

    Returns AsyncGenerator<T, void, void>

Generated using TypeDoc