Bart De Smet
|
6335194978
Remove dead code of hand-rolled iterators.
|
пре 6 година |
Bart De Smet
|
b8c42e1bb9
Introduce a single place where all public async overloads are maintained to evaluate design options using a single SUPPORT_FLAT_ASYNC_API flag.
|
пре 6 година |
Bart De Smet
|
5da0a5aa07
Add Zip with ValueTuple return type.
|
пре 6 година |
Bart De Smet
|
f2ce04b662
The Big Rename to avoid ambiguity between sync/async/cancellable overloads of operators.
|
пре 6 година |
Bart De Smet
|
0171e2bad0
Use await using which now can bind to configured tasks.
|
пре 6 година |
Bart De Smet
|
50ae7fe619
Update comment to use `await using`.
|
пре 6 година |
Bart De Smet
|
9ec8a1f1b4
Remove ConfigureAwait on IAsyncEnumerator<T> in favor of GetConfiguredAsyncEnumerator.
|
пре 6 година |
Bart De Smet
|
f5fc1e4353
Getting rid of USE_AWAIT_USING to ensure proper binding for ConfigureAwait(false).
|
пре 6 година |
Bart De Smet
|
ca0a8b53b4
Change CSHARP8 for USE_* checks. Enable C# 8.0 for all builds.
|
пре 6 година |
Bart De Smet
|
ac470e6889
Remove ASYNC_ITERATOR_CAN_RETURN_AETOR; this is now supported in the latest preview.
|
пре 6 година |
Bart De Smet
|
090adf7d22
Fix #if condition.
|
пре 6 година |
Bart De Smet
|
af84c58c29
Use async iterators for Zip.
|
пре 6 година |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
пре 7 година |
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 година |
Bart De Smet
|
3a3c59ba42
Change signature of Clone.
|
пре 7 година |
Bart De Smet
|
906f9c5577
Fix field names.
|
пре 7 година |
Bart De Smet
|
26c9d054e6
Use cancellation token from field.
|
пре 7 година |
Bart De Smet
|
674b5db3f1
Fix dispose order in Zip.
|
пре 7 година |
Bart De Smet
|
99df49c46f
Taming the concurrency in Zip.
|
пре 7 година |
Bart De Smet
|
bfaaf0b39e
Avoid using .Result in favor of await (cf. exception behavior).
|
пре 7 година |
Bart De Smet
|
9b0e4d5cf4
Add remark to Zip.
|
пре 7 година |
Bart De Smet
|
cfd11d1c62
Adding BCL style exception factories.
|
пре 7 година |
Bart De Smet
|
b53998f1d6
More code cleanup.
|
пре 7 година |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
пре 7 година |
Oren Novotny
|
812308825f
Update to use latest interface spec
|
пре 7 година |
Bart De Smet
|
1a7192b640
Moving Standard Query Operators to System.Linq.Async.
|
пре 8 година |