public static AwaitableAsyncSubject <TSource> GetAwaiter <TSource>(this IObservable <TSource> source)
        {
            var s = new AwaitableAsyncSubject <TSource>();

            source.SubscribeSafe(s);
            return(s);
        }
Ejemplo n.º 2
0
 public Subscription(AwaitableAsyncSubject <T> subject, IObserver <T> observer)
 {
     _subject  = subject;
     _observer = observer;
 }