Bart De Smet
|
8d11e5c8f4
Mark some structs as readonly.
|
7 years ago |
Bart De Smet
|
1fe1409a43
Cosmetics.
|
7 years ago |
Bart De Smet
|
7499e2a070
Add WithCancellation operator.
|
7 years ago |
Bart De Smet
|
b584036ab3
Add interface implementation for ConfigureAwait.
|
7 years ago |
Bart De Smet
|
c56e02c33a
Adding ref assemblies
|
7 years ago |
Bart De Smet
|
f17f829fbb
Adding deep cancellation API surface on AsyncQueryable.
|
7 years ago |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
7 years ago |
Bart De Smet
|
568e78fee4
Implement Average overloads with selector.
|
7 years ago |
Bart De Smet
|
6f9f24ef8c
Simplify some code.
|
7 years ago |
Bart De Smet
|
af6a43d236
Use ValueTask for internal IAsyncPartition interface.
|
7 years ago |
Bart De Smet
|
8be4811163
Moving to Async naming convention.
|
7 years ago |
Bart De Smet
|
6700700e90
One more T4 fix.
|
7 years ago |
Bart De Smet
|
d8d858a254
Fix some T4 files for ValueTask overload generation.
|
7 years ago |
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 |
Bart De Smet
|
92515218cc
Fix ToEnumerable's use of ValueTask.
|
7 years ago |
Bart De Smet
|
06a4ec0e79
Remove unusd cancellation tokens.
|
7 years ago |
Bart De Smet
|
1ddf353701
Rewrite Defer to be lazy in all cases.
|
7 years ago |
Bart De Smet
|
65fd9d0201
Add performance remarks.
|
7 years ago |
Bart De Smet
|
3a3c59ba42
Change signature of Clone.
|
7 years ago |
Bart De Smet
|
f73236d97f
Don't pay for the _current field if unused.
|
7 years ago |
Bart De Smet
|
fc3552e2e2
Fix some namespaces.
|
7 years ago |
Bart De Smet
|
6a3dfda574
Move Create and AsAsyncEnumerable.
|
7 years ago |
Bart De Smet
|
6e6f2c8233
Add some comments to Timeout.
|
7 years ago |
Bart De Smet
|
35baf55cdc
Add test for Throw.
|
7 years ago |
Bart De Smet
|
c8d4e326b7
Simplify Never test.
|
7 years ago |
Bart De Smet
|
f12d4482cc
Minor edits of Never.
|
7 years ago |
Bart De Smet
|
17b3142869
Adding a comment on granting cancellation in iterators.
|
7 years ago |
Bart De Smet
|
30e9bf266f
Fix Throw factory.
|
7 years ago |
Bart De Smet
|
5e94397dee
Add support for IAsyncListProvider to Return.
|
7 years ago |
Bart De Smet
|
cf4bc0852c
Merge
|
7 years ago |