fahadash
fahadash

Reputation: 3281

ReactiveCommand Subscribe not found

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

Answers (1)

fahadash
fahadash

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

Related Questions