Пример #1
0
        static IStreamable <Empty, long> Agg_Bench(StreamCache <Empty, Payload> stream)
        {
            var result = stream
                         .TumblingWindowLifetime(10000)
                         .Aggregate(w => w.Sum(e => AggOps(e)));

            return(result);
        }