Bart De Smet
|
0311af1adb
Fix a number of nullable warnings.
|
6 years ago |
Bart De Smet
|
46f5123be7
Merge branch 'master' of https://github.com/dotnet/reactive into NullableReferenceTypes
|
6 years ago |
Bart De Smet
|
f329683555
Enable nullable reference types.
|
6 years ago |
Bart De Smet
|
5deb0f1222
Some minor cleanup.
|
6 years ago |
Bart De Smet
|
6335194978
Remove dead code of hand-rolled iterators.
|
6 years ago |
Oren Novotny
|
3edb789069
Use BCL types
|
6 years ago |
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 years ago |
Bart De Smet
|
f2ce04b662
The Big Rename to avoid ambiguity between sync/async/cancellable overloads of operators.
|
6 years ago |
Bart De Smet
|
d2b8eeae81
Add comment to SelectMany.
|
6 years ago |
Bart De Smet
|
985dbf3750
Style consistency in new code.
|
6 years ago |
Oren Novotny
|
176fd41eba
Add shim for code that's moved to TaskExtensions
|
6 years ago |
Bart De Smet
|
d5aa7e28b0
Remove USE_AWAIT_FOREACH (always on now).
|
6 years ago |
Bart De Smet
|
ca0a8b53b4
Change CSHARP8 for USE_* checks. Enable C# 8.0 for all builds.
|
6 years ago |
Bart De Smet
|
e576f23303
Remove AETOR_HAS_CT checks. CancellationToken is now supported on the interface.
|
6 years ago |
Bart De Smet
|
e11f6aed52
Fix USE_ASYNC_ITERATOR build.
|
6 years ago |
Bart De Smet
|
ac470e6889
Remove ASYNC_ITERATOR_CAN_RETURN_AETOR; this is now supported in the latest preview.
|
6 years ago |
Bart De Smet
|
5cddc62b53
SelectMany can implement IAsyncIListProvider.
|
6 years ago |
Bart De Smet
|
1b093d6d3b
Fix collectionSelector parameter name in SelectMany.
|
6 years ago |
Bart De Smet
|
b63320e979
Use async iterators for various SelectMany overloads.
|
6 years ago |
Oren Novotny
|
b9f9514d57
Revert "Use only var when type is obvious."
|
6 years ago |
Bart De Smet
|
876ee400a9
Use only var when type is obvious.
|
6 years ago |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
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
|
3a3c59ba42
Change signature of Clone.
|
7 years ago |
Bart De Smet
|
0af62a18c3
Fix dispose order in SelectMany.
|
7 years ago |
Bart De Smet
|
906f9c5577
Fix field names.
|
7 years ago |
Bart De Smet
|
26c9d054e6
Use cancellation token from field.
|
7 years ago |
Bart De Smet
|
cfd11d1c62
Adding BCL style exception factories.
|
7 years ago |
Bart De Smet
|
4847c39521
Modernize some code.
|
7 years ago |
Bart De Smet
|
e2b5a524e1
Some stylistic changes.
|
7 years ago |