示例#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)));
 }
示例#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)));
 }
示例#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)));
 }
示例#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)));
 }