예제 #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>());
            }