private IEnumerableAsync <Event[]> RunForClientMessages(
            IEnumerableAsync <Cli.Message[]> messages
            )
        {
            Cli.IMessagingEvents messagingEvents = new Cli.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(messages)
                );

            return(events);
        }
Beispiel #2
0
        async Task RunForClientLog(
            IEnumerableAsync <Cli.Message[]> input,
            LogSourcePostprocessorInput postprocessorInput
            )
        {
            Cli.IMessagingEvents messagingEvents = new Cli.MessagingEvents();

            var events = EnumerableAsync.Merge(
                messagingEvents.GetEvents(input)
                );

            await postprocessing.SequenceDiagram.SavePostprocessorOutput(
                events,
                null,
                null,
                null,
                evtTrigger => TextLogEventTrigger.Make((Cli.Message)evtTrigger),
                postprocessorInput
                );
        }