Ejemplo n.º 1
0
 public override Task <Terminator <TReduction> > InvokeAsync(TReduction reduction, T value) =>
 Container.Push(value) ? Next.InvokeAsync(reduction, Container.Window)
                           : Task.FromResult(Reduction(reduction));
Ejemplo n.º 2
0
 public override Terminator <TReduction> Invoke(TReduction reduction, T value) =>
 Container.Push(value) ? Next.Invoke(reduction, Container.Window) : Reduction(reduction);