biig-io/DomainComponent

Allow to know when the domainevent is delayed or not

Closed this issue · 0 comments

Nek- commented

Delayed events happen in the case you want it to happen after a flush. In some case you may want to implement both DomainRuleInterface and PostPersistRuleInterface, in that case having a possibility to know in what case you are is interesting.

To do: add a new method isDelayed to the domain event.