How is it called

By the way, how do you call it when you dream of your alarm going off and you wake up inside your dream - Right before the real alarm goes off..?

—dbv