To start, place two egg yolks into a bowl.
Whisk the egg yolks vigorously for about 60 seconds, until the yolks lighten in color and thicken to a frothy, foamy texture.
Add cornstarch and some milk to the egg yolks.
Whisk until fully combined, then set aside.
In a small saucepan, combine sugar, cocoa powder, salt, and milk.
Heat this mixture to a scalding temperature, then whisk it into the egg cornstarch mixture.
Pour everything back into the saucepan and cook over high heat until the pudding thickens into a luscious, silky consistency. Then remove the pudding from the heat and stir in chocolate or vanilla extract for extra flavor.
Pour the chocolate pudding into a big bowl to chill.
Then I press plastic wrap directly onto the surface of the pudding, so a skin doesn’t form. Pudding skin gives me the heebie jeebies, and no one wants the heebie jeebies, right?
Chill the pudding for an hour or two in the refrigerator, then give the pudding a stir and serve. Enjoy!