In a heavy-bottomed saucepan, whisk together egg yolks and sugar until pale yellow. Add milk, heavy cream, and vanilla extract, whisking to combine. Heat over medium, whisking constantly, until the mixture boils and thickens enough to coat the back of a spoon.