Coat a large pot with cooking spray. Add butter and melt over medium heat. Add onion and mushrooms and cook, until tender, stirring frequently, about 5 minutes.