public void OnEvent(ref PerfValueEvent data, long sequence, bool endOfBatch)
        {
            _value.Value = _value.Value + data.Value;

            if (Count == sequence)
            {
                Latch?.Set();
            }
        }
Esempio n. 2
0
        public void OnEvent(ref PerfValueEvent data, long sequence, bool endOfBatch)
        {
            _value.Value += data.Value;

            if (_latchSequence == sequence)
            {
                _latch.Set();
            }
        }