Melt butter in a saucepan on low heat until butter is melted then add sugar. Stir them lightly until combined and temperature reaches 110ºF - 120ºF using a thermometer (Do not boil or make it bubbling).
Add the hot butter/sugar with egg/cocoa mixture, stirring until smooth.