Exemplo n.º 1
0
                public _(Absolute parent, IObserver <TResult> observer)
                    : base(observer)
                {
                    _condition      = parent._condition;
                    _iterate        = parent._iterate;
                    _resultSelector = parent._resultSelector;
                    _timeSelector   = parent._timeSelector;

                    _first = true;
                }
Exemplo n.º 2
0
                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);
                }
Exemplo n.º 3
0
                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));
                }
Exemplo n.º 4
0
 public _(Absolute parent, IObserver <TResult> observer, IDisposable cancel)
     : base(observer, cancel)
 {
     _parent = parent;
 }
Exemplo n.º 5
0
                public void Run(Absolute parent)
                {
                    SetUpstream(parent._scheduler.ScheduleAction(this, parent._dueTime, @this => @this.Timeout()));

                    Disposable.TrySetSingle(ref _serialDisposable, parent._source.SubscribeSafe(this));
                }
Exemplo n.º 6
0
 public _(Absolute parent, IObserver <TResult> observer)
     : base(observer)
 {
     _parent = parent;
 }