Put the egg yolk and erythritol in a bowl and mix well.
Add the heavy cream and mix again.
Pour the mixture into a pan and simmer over low heat, stirring continuously.
When it thickens, turn off the heat and let it cool.
Transfer to an airtight container and refrigerate.