Sauté onion in butter for three minutes, sprinkle with flour and cook another minute, stirring constantly, until flour is fully incorporated. Whisk milk into pan and stir until mixture has thickened. Season with salt and pepper, remove from heat, and set aside.