Bart De Smet
|
8b7d90e758
Embrace LDM-2018-11-28 decision to check for cancellation in GetAsyncEnumerator.
|
7 years ago |
Bart De Smet
|
3632d7ed7c
Clean up some code.
|
7 years ago |
Bart De Smet
|
f08c7f063e
Remove IObservable<T> conversion to its own file.
|
7 years ago |
Bart De Smet
|
640aa0f7d5
Marking a few classes as private instead of internal.
|
7 years ago |
Bart De Smet
|
3504fe8bf6
Move Task<T> conversion to separate file.
|
7 years ago |
Bart De Smet
|
1e2096aadd
Mark a few methods as static.
|
7 years ago |
Bart De Smet
|
4e73c9a032
Save some state machine allocations.
|
7 years ago |
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 |