Whisk egg yolks, cornflour, sugar, and vanilla together before gently cooking with milk and cream until smooth and thick.