New technology for the controlled synthesis of functional materials in flow