You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to test this view model and running into some issues. When the command executes, the test just times out. I'm new to reactive programming so there could be a problem with how I've set things up. Any help would be greatly appreciated.
Also, is it possible for ReactiveCommand<T> and ReactiveCommand<TInput, TOutput> to take a Func<T,bool>, or an equivalent, for CanExecute so that it can check the input parameter to make sure it is valid before running the command? I see the command could be created from an IObservable<bool>, but it doesn't help if you have a UI like the following:
Hi, I'm trying to test this view model and running into some issues. When the command executes, the test just times out. I'm new to reactive programming so there could be a problem with how I've set things up. Any help would be greatly appreciated.
Also, is it possible for
ReactiveCommand<T>
andReactiveCommand<TInput, TOutput>
to take aFunc<T,bool>
, or an equivalent, forCanExecute
so that it can check the input parameter to make sure it is valid before running the command? I see the command could be created from anIObservable<bool>
, but it doesn't help if you have a UI like the following:the problem is the
CommandParameter
for the command. Not a real opportunity to create an observable without compromising the UI as far as I know.The text was updated successfully, but these errors were encountered: