Put the chocolate in a heatproof bowl over a saucepan of simmering water, making sure the base of the bowl doesn’t touch the water. Leave the chocolate until it has softened, then stir occasionally until melted.
Allow the chocolate to cool slightly, then stir in the cream. Stir the egg yolks into the chocolate.