Ian Griffiths
|
1ce85f4066
Preparing for System.Linq.AsyncEnumerable (#2240)
|
1 тиждень тому |
Ruben Schmidmeister
|
4c6f66a19e
Use source generator to generate MinAsync overloads
|
4 роки тому |
Ruben Schmidmeister
|
3ad44930f1
Use source generator to generate MaxAsync overloads
|
4 роки тому |
akarnokd
|
c9acefcb75
Add documentation to AsyncEnumerable methods.
|
5 роки тому |
Bart De Smet
|
fdc613c5b9
Local functions can shadow variables now.
|
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
|
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
|
1a63ba15ab
Use ValueTask<T> for aggregates to improve ergonomics when used in e.g. Select.
|
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
|
645aa551dc
Use static local functions.
|
6 роки тому |
Bart De Smet
|
b138e06b0a
Use C# 8.0 in primitive Min and Max.
|
6 роки тому |
Bart De Smet
|
8d10432be7
Generate code for Min and Max.
|
6 роки тому |
Bart De Smet
|
369026d24e
Taming CancellationToken overload hell
|
6 роки тому |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
7 роки тому |
Bart De Smet
|
8be4811163
Moving to Async naming convention.
|
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
|
cfd11d1c62
Adding BCL style exception factories.
|
7 роки тому |
Bart De Smet
|
bb54d8d00c
Replace Min and Max implementations.
|
7 роки тому |
Bart De Smet
|
1a7192b640
Moving Standard Query Operators to System.Linq.Async.
|
8 роки тому |