-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time to integrate Rx with .NET #1197
Comments
but this is like saying "please integrate Dapper into .NET". Only the .NET team can make that kind of call. |
You can't compare dotnet/reactive to StackExchange/Dapper. |
F# already has this feature, so it's not too far-fetched for C# to have it. There's an
But since it natively implements an observable, you can also do:
|
When the source code generators are fully implemented, it will be possible to create a generator that replaces the standard events with RX. |
Thanks for your link. |
The source generator is currently in our incubator org. https://github.com/reactivemarbles/ObservableEventsSourceGenerator |
Feature request
Please integrate System.Reactive into .NET and Standard, and eventually integrate with the .NET runtime core and languages.
Currently, events in C# can only be targeted either within their declaration class, or with the
+=
and-=
operators.This limitation results in plenty of tedious and redundant code, and a lot of verbosity. For example:
If we'd integrate Rx in .NET, we could end up removing such limitations, and reach the final goal where we're able to do something like the following:
Hence:
See C# Suggestion issue.
Related
Bringing Rx to C# events will make it a super powerful language, especially around UIs.
The text was updated successfully, but these errors were encountered: