public IObservable<Unit> Execute(ExecutionContext context) { Ensure.ArgumentNotNull(context, nameof(context)); return context .WaitWhilePaused() .SelectMany(_ => this.speechService.Speak(this.speechText)) .FirstAsync(); }
public IObservable<Unit> Execute(ExecutionContext context) { Ensure.ArgumentNotNull(context, nameof(context)); return context .WaitWhilePaused() .SelectMany(_ => this.speechService.Speak(this.speechText)) .FirstAsync(); }