示例#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>());
            }