Cook over medium heat, stirring constantly with a wooden spoon, scraping the sides and bottom of the pan, until the mixture begins to simmer, thickens and coats the back of a spoon, about 10 minutes. Remove from the heat and add the chocolate, mixing until smooth.