IReactiveCommand
trait · ferroui-reactiveui · v0.5.0
trait IReactiveCommand: IDisposable + IHandleObservableErrors
The state of a reactive command, whatever its types (IReactiveCommand): whether it is
executing, whether it can execute, and (through IHandleObservableErrors) the errors of its
executions. Disposing it ends its subscription to the observable that gates it.
Members
is_executing
fn is_executing(self: &Self) -> Rc<dyn IObservable<bool>>
Whether the command is executing: the current value on subscription, then each change
(IsExecuting).
can_execute
fn can_execute(self: &Self) -> Rc<dyn IObservable<bool>>
Whether the command can execute: the current value on subscription, then each change; it
is false while the command executes (CanExecute).
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.