Melt chocolate either in the microwave or in a glass bowl over a pot of water (make sure the water does not touch the bottom of the bowl) on low heat. Set aside to cool to warm.In a medium pot, heat over low the milk and cream, do not boil. Remove from heat and let cool to warm.In a medium pot add yolks and sugar, whisk together until combined, then add flour and vanilla, place pot over low heat, add warm milk/cream, whisking continuously (don't stop) until thickened, remove to a glass bowl and whisk in melted cooled chocolate until combined.Cover with plastic wrap (make sure wrap touches the cream mixture) and refrigerate at least 3 hours. Enjoy!
Italian Chocolate Pastry Cream https://anitalianinmykitchen.com/chocolate-pastry-cream/