Meanwhile, prepare the pudding filling. In a medium saucepan, whisk together cornstarch, sugar, cocoa and salt. Slowly whisk in milk and place over medium-high heat. Stirring constantly, bring mixture to a boil and then continue to stir for another 2 minutes until the mixture thickens.