Add the shrimp to a medium-sized bowl alongside the olive oil, minced garlic, salt, and ground black pepper.
2 tbsp olive oil, 1/2 tsp salt, 1/4 tsp ground black pepper, 1 garlic clove, 8 oz raw shrimp
Melt butter in a large skillet (or large frying pan) over medium heat. Add the shrimp and cook until pink and opaque, about 2-3 minutes per side. Remove the shrimp from the pan with a slotted spoon and set aside. Don't overcook the shrimp or they will become tough and rubbery.
1 tbsp butter
Add remaining olive oil to the pan on medium heat. Add the sliced onion and mushrooms and cook until browned, about 5-7 minutes.
1 yellow onion, 8 oz white button mushrooms
Add the white wine to the pan and scrape up any browned bits from the bottom. Let the wine simmer for 2 minutes, until slightly reduced.
1/4 cup white wine
In a small bowl, whisk together the cornstarch and chicken broth. Stir the cornstarch mixture into the pan and bring to a simmer. Cook until the sauce thickens, about 3-5 minutes.
1 tbsp cornflour, 1/2 cup chicken stock
Stir in the heavy cream and thyme. Bring the sauce to a simmer and cook for 2 minutes.
3/4 cup heavy cream, 1/2 tsp dried thyme
Return the shrimp to the pan and stir to coat in the sauce. Season to taste with salt and pepper.
Serve immediately over rice or hot cooked noodles and garnish with fresh parsley (optional).
1 tbsp fresh parsley
Notes
Adjust consistency: If the sauce is too thick, you can thin it out with a little bit of extra chicken broth or water.Storage: Leftovers can be stored in an airtight container in the refrigerator for up to 3 days. Reheat gently over low heat until warmed through. I don't recommend freezing it.