In a bowl, beat the egg yolks and sugar with a whisk. Gradually whisk in the warm milk. Pour the mixture back into the same saucepan and cook over low heat, stirring constantly with a wooden spoon, until the custard coats the back of the spoon. Add the gelatin and whisk until completely dissolved. Set aside.