Continuous flow magnesiation of functionalized heterocycles and acrylates with TMPMgCl⋅LiCl.