Function ensureSortedSetAsync
- ensureSortedSetAsync<T>(iterable, comparator): AsyncGenerator<T>
Parameters
- iterable: AsyncIterable<T, any, any> | Iterable<T, any, any>
- comparator: ((a, b) => number)
- (a, b): number
Returns number
Returns AsyncGenerator<T>