protected override IDisposable SubscribeCore(IObserver <Unit> observer, IDisposable cancel) { var fe = new FromEvent(this, observer); return(fe.Register() ? fe : Disposable.Empty); }
protected override IDisposable SubscribeCore(UniRx.IObserver <T> observer, IDisposable cancel) { FromEvent fromEvent = new FromEvent(this, observer); return((!fromEvent.Register()) ? Disposable.Empty : fromEvent); }