Пример #1
0
 public void OnEvent(DisruptorEvent evt)
 {
     evt.Write(_stepFunc.Invoke(evt.Read <TStepIn>()));
 }
Пример #2
0
 public void OnEvent(DisruptorEvent data, long sequence, bool endOfBatch)
 {
     OnEvent(data);
 }
Пример #3
0
            public void OnEvent(DisruptorEvent data, long sequence, bool endOfBatch)
            {
                var tcs = (TaskCompletionSource <TOut>)data.TaskCompletionSource;

                tcs.SetResult(data.Read <TOut>());
            }