public void OnEvent(DisruptorEvent evt) { evt.Write(_stepFunc.Invoke(evt.Read <TStepIn>())); }
public void OnEvent(DisruptorEvent data, long sequence, bool endOfBatch) { var tcs = (TaskCompletionSource <TOut>)data.TaskCompletionSource; tcs.SetResult(data.Read <TOut>()); }