Melt the butter in a large saucepan over medium heat. Add onions and cook until tender, about 5 minutes. Season with salt and pepper and add the mushrooms, increasing the heat to medium-high. Cook, stirring occasionally, until almost all liquid has evaporated, about 15 minutes.
Make a sachet from the bay leaf and peppercorns.
Add heavy cream, sachet, and dried thyme, and bring to a boil. Reduce heat and simmer until reduced by about one-third, 35 minutes.
When sauce is ready, discard sachet, transfer cream to a blender and blend smooth, return to saucepan and keep warm. Stir in crème fraîche.