public void Subscribe(ICompletableObserver observer) { var parent = new SwitchMapObserver(observer, mapper, delayErrors); observer.OnSubscribe(parent); parent.OnSubscribe(source.Subscribe(parent)); }
public IDisposable Subscribe(IObserver <R> observer) { var parent = new SwitchMapObserver(observer, mapper, delayErrors); parent.OnSubscribe(source.Subscribe(parent)); return(parent); }
public InnerObserver(SwitchMapObserver parent) { this.parent = parent; }