Ian Griffiths
|
1ce85f4066
Preparing for System.Linq.AsyncEnumerable (#2240)
|
1 周之前 |
Ruben Schmidmeister
|
74d2d1d907
Use source generator to generate LongCount overloads
|
4 年之前 |
Claire Novotny
|
f1b5e96157
Update to MIT license
|
5 年之前 |
akarnokd
|
c9acefcb75
Add documentation to AsyncEnumerable methods.
|
5 年之前 |
Bart De Smet
|
fdc613c5b9
Local functions can shadow variables now.
|
6 年之前 |
Oren Novotny
|
3edb789069
Use BCL types
|
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 年之前 |
Oren Novotny
|
176fd41eba
Add shim for code that's moved to TaskExtensions
|
6 年之前 |
Bart De Smet
|
962fc99716
Style consistency for new code
|
6 年之前 |
Bart De Smet
|
1a63ba15ab
Use ValueTask<T> for aggregates to improve ergonomics when used in e.g. Select.
|
6 年之前 |
Bart De Smet
|
d5aa7e28b0
Remove USE_AWAIT_FOREACH (always on now).
|
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
|
e576f23303
Remove AETOR_HAS_CT checks. CancellationToken is now supported on the interface.
|
6 年之前 |
Bart De Smet
|
c36dc93b92
Use C# 8.0 in Count and LongCount.
|
6 年之前 |
Bart De Smet
|
0980e87430
Avoiding heap-allocated closures
|
6 年之前 |
Bart De Smet
|
15fb36bba0
Simplify code using local functions
|
6 年之前 |
Bart De Smet
|
369026d24e
Taming CancellationToken overload hell
|
6 年之前 |
Oren Novotny
|
b9f9514d57
Revert "Use only var when type is obvious."
|
6 年之前 |
Bart De Smet
|
876ee400a9
Use only var when type is obvious.
|
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
|
ff4deee27c
Inline LongCount.
|
7 年之前 |
Bart De Smet
|
a6e71784ca
Cleaning up Count and LongCount.
|
7 年之前 |
Bart De Smet
|
206c7f2f1f
Splitting Count and LongCount.
|
8 年之前 |