, liquids empty faster than solids- and whey protein
empties faster than casein (curds).
I suggest liquid, whey protein, . If taking solids- very small amounts- allow for emptying before refilling. I would not eat within three hours of bedtime.
Ask your doctor about medicines that may help increase stomach emptying.