public _(Absolute parent, IObserver <TResult> observer) : base(observer) { _condition = parent._condition; _iterate = parent._iterate; _resultSelector = parent._resultSelector; _timeSelector = parent._timeSelector; _first = true; }
public void Run(Absolute parent) { var original = new SingleAssignmentDisposable(); _serialDisposable = original; _switched = false; SetUpstream(parent._scheduler.Schedule(this, parent._dueTime, (_, state) => state.Timeout())); original.Disposable = parent._source.SubscribeSafe(this); }
public IDisposable Run(Absolute parent) { var original = new SingleAssignmentDisposable(); _subscription.Disposable = original; _switched = false; var timer = parent._scheduler.Schedule(parent._dueTime, Timeout); original.Disposable = parent._source.SubscribeSafe(this); return(StableCompositeDisposable.Create(_subscription, timer)); }
public _(Absolute parent, IObserver <TResult> observer, IDisposable cancel) : base(observer, cancel) { _parent = parent; }
public void Run(Absolute parent) { SetUpstream(parent._scheduler.ScheduleAction(this, parent._dueTime, @this => @this.Timeout())); Disposable.TrySetSingle(ref _serialDisposable, parent._source.SubscribeSafe(this)); }
public _(Absolute parent, IObserver <TResult> observer) : base(observer) { _parent = parent; }