Function ensureSortedSetAsync

  • Type Parameters

    • T

    Parameters

    • iterable: AsyncIterable<T, any, any> | Iterable<T, any, any>
    • comparator: ((a, b) => number)
        • (a, b): number
        • Parameters

          Returns number

    Returns AsyncGenerator<T>