Bart De Smet aacb761f40 Switch to ValueTask for predicates, selectors, etc. We await those ourselves and they are expected to be called in a high-frequency manner, so this seems to be the right choice. The only drawback is when these operators are used using method group conversion of a Task-returning async method, which is likely rare in query expressions where one typically uses (async) lambdas, and there's a workaround Task-to-ValueTask conversion. We can't overload on ValueTask and Task return types, so this seems the best way forward. 7 years ago
..
Properties 741e9660c8 merge from master 7 years ago
System aacb761f40 Switch to ValueTask for predicates, selectors, etc. We await those ourselves and they are expected to be called in a high-frequency manner, so this seems to be the right choice. The only drawback is when these operators are used using method group conversion of a Task-returning async method, which is likely rare in query expressions where one typically uses (async) lambdas, and there's a workaround Task-to-ValueTask conversion. We can't overload on ValueTask and Task return types, so this seems the best way forward. 7 years ago
EmptyArray.cs ae718bad3d More code cosmetics. 8 years ago
System.Interactive.Async.csproj 2cd427d29e Remove copy of AsyncIterator. 7 years ago
TaskExt.cs 8fea84666d Default value of ValueTask is good enough to report completion. 7 years ago