In a saucepan set over medium heat, combine evaporated milk, granulated sugar, and egg yolks, whisking constantly.
Add in the butter and continue to cook while stirring until the mixture thickens noticeably, around 10 minutes.
Remove the pan from heat and mix in vanilla extract, shredded coconut, and chopped pecans.
Set the topping aside to cool to room temperature.