into a pan and add the butter, sugar and cocoa. place the pan over a low heat and stir until the butter has melted and the sugar dissolved.
increase the heat under the pan and bring the sauce to the boil, and then simmer the sauce until it reaches a coating consistency. 