Esempio n. 1
0
 public virtual IObservable <TSource> Timeout <TSource, TTimeout>(IObservable <TSource> source, IObservable <TTimeout> firstTimeout, Func <TSource, IObservable <TTimeout> > timeoutDurationSelector)
 {
     return(Timeout_(source, firstTimeout, timeoutDurationSelector, Observable.Throw <TSource>(new TimeoutException())));
 }
Esempio n. 2
0
 public virtual IObservable <TSource> Timeout <TSource>(IObservable <TSource> source, DateTimeOffset dueTime)
 {
     return(Timeout_(source, dueTime, Observable.Throw <TSource>(new TimeoutException()), SchedulerDefaults.TimeBasedOperations));
 }
Esempio n. 3
0
 public virtual IObservable <TSource> Timeout <TSource>(IObservable <TSource> source, DateTimeOffset dueTime, IScheduler scheduler)
 {
     return(Timeout_(source, dueTime, Observable.Throw <TSource>(new TimeoutException()), scheduler));
 }
Esempio n. 4
0
 public void OnError(Exception error)
 {
     OnNext(Observable.Throw <T>(error));
 }