Boil the mushrooms in advance.
Chop the onion and fry in vegetable oil until transparent.
Add the mushrooms.