Example #1
0
        public void Observable_Can_Be_Disposed_Before_Subscription()
        {
            var observable = new Observable<Foo>();

            var subscription = observable.SubscribeOn(Scheduler.Default).Subscribe(
                f=> {});

            observable.Dispose();
            subscription.Dispose();
        }