Ian Griffiths
|
1ce85f4066
Preparing for System.Linq.AsyncEnumerable (#2240)
|
пре 1 недеља |
Ruben Schmidmeister
|
48fda12ddb
Use source generator to generate FirstAsync 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 година |
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
|
1a63ba15ab
Use ValueTask<T> for aggregates to improve ergonomics when used in e.g. Select.
|
пре 6 година |
Bart De Smet
|
645aa551dc
Use static local functions.
|
пре 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
|
051f53ecf5
Minor simplification of the code.
|
пре 7 година |
Bart De Smet
|
69a02b3516
Optimize First.
|
пре 7 година |
Bart De Smet
|
743e98cf90
Using Core pattern for First, Last, Single.
|
пре 7 година |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
пре 7 година |
Bart De Smet
|
bcd0512515
Feeding CancellationToken to IAsyncPartition operations.
|
пре 8 година |
Bart De Smet
|
e9f72835b4
Renaming IAsyncPartition methods to use Async suffix.
|
пре 8 година |
Bart De Smet
|
df9874703a
Supporting IAsyncPartition in [First|Last|ElementAt][OrDefaut].
|
пре 8 година |
Bart De Smet
|
ba258fdb70
Simplifying some logic in First[OrDefault].
|
пре 8 година |
Bart De Smet
|
2e45ab5b38
Renaming some methods to use Core suffix.
|
пре 8 година |
Bart De Smet
|
3c7f7f1637
Splitting First and FirstOrDefault.
|
пре 8 година |
Bart De Smet
|
1a7192b640
Moving Standard Query Operators to System.Linq.Async.
|
пре 8 година |