public Logic(SingleSource <T> source) : base(source.Shape) { SetHandler(source.Outlet, onPull: () => { Push(source.Outlet, source._element); CompleteStage(); }); }
public Logic(SingleSource <T> stage) : base(stage.Shape) { _stage = stage; SetHandler(stage.Outlet, this); }