To a pot off the heat, add 2 cups non-dairy milk, 7 tablespoons sugar, ½ cup cornstarch, ½ cup espresso coffee, and 1 teaspoon vanilla extract.Whisk until all the lumps of the cornstarch are gone.
Stir continuously on medium heat until the liquid thickens into a creamy custard. It can take between 2 to 5 minutes, depending on the quantities.
When you have almost reached the consistency you like, turn the heat off and keep stirring for another minute. TIP: The custard will keep thickening as it cools. Keep this in mind and turn off the heat slightly before you reach your desired thickness.
TIP: To check if your custard is cooked, take a wooden or silicone spatula, dip it in the custard, then run a finger through it. If the spatula stays clean, the custard is ready.