浏览代码

Add remark to Zip.

Bart De Smet 7 年之前
父节点
当前提交
9b0e4d5cf4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Zip.cs

+ 3 - 0
Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Zip.cs

@@ -90,6 +90,9 @@ namespace System.Linq
 
                     case AsyncIteratorState.Iterating:
 
+                        // REVIEW: Do we want concurrent behavior by default? Likely not, so we should introduce ConcurrentZip
+                        //         either here or in System.Interactive.Async.
+
                         // We kick these off and join so they can potentially run in parallel
                         var ft = _firstEnumerator.MoveNextAsync();
                         var st = _secondEnumerator.MoveNextAsync();