In a medium saucepan, heat the heavy cream over medium heat until it simmers. Remove from heat and add the chopped chocolate, letting it sit to soften before stirring until smooth.
In a large bowl, whisk together the egg yolks, sugar, cocoa powder, espresso powder, and vanilla extract until smooth. Gradually whisk in the warm cream mixture to combine thoroughly.