In a small saucepan, combine all of the ingredients over a low heat and stir until the chocolate and butter have melted. Remove the pan from the heat.
Pour into a heatproof bowl and leave to cool for around 20 minutes, or until the mixture begins to thicken. Use as a filling or topping in your chosen cake recipe, or serve warm as a sauce.