示例#1
0
        protected virtual void ComposeAndApplyResult(SignalWrapper <SignalEvent <TKey> > item)
        {
            Stopwatch composeTimer = Stopwatch.StartNew();
            EventHandleResult <SignalDispatch <TKey> > composeResult = ComposeDispatches(item);

            composeTimer.Stop();

            _eventQueue.ApplyResult(item, composeResult.Result);
            _monitor.DispatchesComposed(item.Signal, composeTimer.Elapsed, composeResult.Result, composeResult.Items);
        }