예제 #1
0
 public static IDisposable SubscribeCompletion <T>(this IObservable <T> This, Action onCompleted) =>
 This.AutoDetach().Subscribe(Observer.Create <T>(_ => {}, ex => { throw ex; }, onCompleted));
예제 #2
0
 public static IDisposable SubscribeAndForget <T>(this IObservable <T> This, Action <T> onNext) =>
 This.AutoDetach().Subscribe(onNext);
예제 #3
0
 public static IDisposable SubscribeAndForget <T>(this IObservable <T> This, Action <T> onNext, Action <Exception> onError, Action onCompleted) =>
 This.AutoDetach().Subscribe(onNext, onError, onCompleted);
예제 #4
0
 public static IDisposable SubscribeAndForget <T>(this IObservable <T> This, IObserver <T> observer) =>
 This.AutoDetach().Subscribe(observer);