We can then wait until the persistenceResource (if any) is committed before firing the notifications.

I put the notifications emission code here to be as close as possible of the event that triggered it but it should not be so close that it reports an event not noticeable for the outside.