In a large skillet, melt the butter over medium heat.
Add the onions and mushrooms. Cook, stirring occasionally, for 4 minutes. Stir in the peas and 1/2 cup water. Cook, stirring frequently, until the peas are tender,8 to 10 minutes. Stir in the salt and pepper.