RxCommandStream<TParam, TResult> constructor

RxCommandStream<TParam, TResult>(StreamProvider<TParam, TResult> provider, Observable<bool> canExecute, bool emitInitialCommandResult)

Implementation

factory RxCommandStream(StreamProvider<TParam, TResult> provider, Observable<bool> canExecute, bool emitInitialCommandResult )
  {

 return new RxCommandStream._(provider, new BehaviorSubject<CommandResult<TResult>>(seedValue: emitInitialCommandResult ?  new CommandResult<TResult>(null, null, false) : null), canExecute);
  }