Turn down the heat to medium, add the butter or oil to the pan, and sweat the onion, stirring from time to time, until soft but not coloured. Add the mushrooms, cook, stirring regularly, until both are soft and the pan is dry, then tip out into a large bowl.
5 Saute the onion and mushrooms