Beat the egg yolks and sugar in a bowl with an electric mixer until pale yellow. Add the whiskey and beat until well mixed.
Transfer the mixture to the top of a double boiler and place it over cold water. Cook, stirring constantly, over medium-high heat until the water in the bottom pot reaches the boiling point and the mixture in the top part is thick and crea