Exemple #1
0
        public void Subscribe(ISignalObserver <T> observer)
        {
            var parent = new RetryPredicteObserver(observer, source, times);

            observer.OnSubscribe(parent);
            parent.Next();
        }
Exemple #2
0
        public IDisposable Subscribe(IObserver <T> observer)
        {
            var parent = new RetryPredicteObserver(observer, source, predicate);

            parent.Next();
            return(parent);
        }