Reputation: 3281
The world is changing so fast I updated ReactiveUI version on my project and my code does not compile anymore. In this particular case I cannot see .Subscribe() on ReactiveCommand anymore. The closest I found was .SubscribeToExpressionChain() which I have no idea what it is. The documentation or even the code sample on their main Repo's Readme.MD continues to say and/or assume ReactiveCommand is an IObservable. Where do I access latest documentation? Am I missing any obvious clue here?
Reactive commands are themselves observable. Whenever any execution of the command completes, the result will tick through the command itself.
Upvotes: 1
Views: 212
Reputation: 3281
So it turns out the basic ReactiveCommand
type is just an abstract type and does not support IObservable. My member types were ReactiveCommand instead of ReactiveCommand<TParam, TResult>
which they should have been.
Upvotes: 1