In older recipes, the eggs may not have been cooked so there was a risk of getting salmonella. In this eggnog recipe, the egg yolks are thoroughly cooked so there are no worries about food poisoning.