Whisk vanilla, sugar, flour, salt, and egg yolks. Warm up milk just until a skin forms. Add milk to the mixture in a thin stream, whisking constantly. Transfer back to heat and cook until the mixture is thick and glue (for about 5 minutes) constantly steering it with a wooden spoon. Place a plastic wrap on top of the cream and refrigerate until ready to use.