once your onions are sufficiently caramelized (deep, rich caramel in color) sprinkle with the flour and stir to coat. add the thyme, cognac, two large pinches kosher salt and a few grinds of pepper.