While the onions are baking, add the cashews, 1/2 cup of water, garlic, and salt into a blender. Blend until smooth. Heat a large pan over medium-high heat. Add in the oil. Once the oil is hot, add in the onions and mushrooms. Cook, stirring frequently.