public override void Start(long sequenceId)
 {
     _disposable = _subject.Subscribe(
         t => _observer.OnNext(t.Item1, t.Item2),
         e => _observer.OnError(e),
         () => _observer.OnCompleted());
 }
示例#2
0
            public void OnNext(T item, long sequenceId)
            {
                if (!IsStarted)
                {
                    return;
                }

                _observer.OnNext(item, sequenceId);
            }
            public override void Start(long sequenceId)
            {
                var id = sequenceId;

                foreach (var value in _parent.Values.Skip((int)sequenceId))
                {
                    _observer.OnNext(value, id++);
                }
            }
示例#4
0
            public void OnNext(T item, long sequenceId)
            {
                if (Interlocked.Read(ref _disposed) != 0)
                {
                    return;
                }

                _observer.OnNext(item, sequenceId);
            }
示例#5
0
 public void OnNext(T item, long sequenceId) => _reliableObserver.OnNext(item, sequenceId);
示例#6
0
 public void OnNext(T item, long sequenceId)
 {
     Run(() => _observer.OnNext(item, sequenceId));
 }
示例#7
0
 public void OnNext(T value) => _reliableObserver.OnNext(value, 0);