Stir the flour into the softened onions, continue cooking for a minute or two, then stir in the milk, a ladle at a time, discarding the aromatics as you go. Stir the sauce to remove any lumps, then leave to simmer over a low heat for 10 minutes, continuing to stir from time to time.