This looks like a filling for a cake. I have to say that these days I’m not a big fan of uncooked eggs. I do wonder if pouring the boiled sugar water into the beaten egg would serve to cook it.
Lady Baltimore Filling
Boil 1 1/2 c sugar with 1 c water for 10 minutes. Beat white of 1 egg to stiff froth. Pour syrup on egg white, beating steadily until a meringue is formed that will spread. 1/2 teas vanilla. Add 1 c raisins & 1 c nuts.