Over medium heat, melt the butter in a saucepan of medium size.
After heating and melting the butter, cook the onion until it becomes translucent, which should take around 3-4 minutes.
Add the garlic to the saucepan and cook for 1 minute.
Add the rest of the ingredients and lower the heat to medium-low.
Stir occasionally and simmer until the glaze reaches your desired consistency.
Notes
Spicer Sauce: If you want to add some extra kick to your glaze, try experimenting with different spices like cayenne pepper or chili powder. This will give your glaze a spicier flavor profile.
Difference Between a Sauce and a Glaze: To understand the difference between a sauce and a glaze, think of a glaze as a concentrated, sticky sauce that adds a glossy finish to the dish. It's often used as a finishing touch, applied toward the end of cooking.
Chunky or Smooth Glaze: For a chunkier glaze, you can leave some larger pieces of onion and garlic in the mixture. If you prefer a smoother texture, blend the glaze until it reaches your desired consistency.