Explorar o código

Add review comment for OrderBy.

Bart De Smet %!s(int64=7) %!d(string=hai) anos
pai
achega
fcb9967b83

+ 2 - 0
Ix.NET/Source/System.Linq.Async/System/Linq/Operators/OrderedAsyncEnumerable.cs

@@ -35,6 +35,8 @@ namespace System.Linq
                 case AsyncIteratorState.Allocated:
                     _buffer = await _source.ToArray(cancellationToken).ConfigureAwait(false);
 
+                    // REVIEW: If we add selectors with CancellationToken support, we should feed the token to Sort.
+
                     var sorter = GetAsyncEnumerableSorter(next: null);
                     _indexes = await sorter.Sort(_buffer, _buffer.Length).ConfigureAwait(false);
                     _index = 0;