Exemplo n.º 1
0
 public static IDisposable Subscribe <T>(this UniRx.IObservable <T> source, Action <T> onNext, Action <Exception> onError)
 {
     return(source.Subscribe(Observer.CreateSubscribeObserver(onNext, onError, Stubs.Nop)));
 }
Exemplo n.º 2
0
 public static IDisposable Subscribe <T>(this IObservable <T> source, Action <T> onNext, Action <Exception> onError, Action onCompleted)
 {
     return(source.Subscribe(Observer.CreateSubscribeObserver(onNext, onError, onCompleted)));
 }
Exemplo n.º 3
0
 public static IDisposable Subscribe <T>(this UniRx.IObservable <T> source, Action <T> onNext)
 {
     return(source.Subscribe(Observer.CreateSubscribeObserver(onNext, Stubs.Throw, Stubs.Nop)));
 }
Exemplo n.º 4
0
 public static IDisposable Subscribe <T>(this IObservable <T> source, Action <T> onNext, Action onCompleted)
 {
     return(source.Subscribe(Observer.CreateSubscribeObserver(onNext, Stubs.Throw, onCompleted)));
 }