Hi Adam,
To what event did you subscribe?
It doesn’t matter what event you will chose, you’ll always have this “$event” in event listener, this can be different type, but anyway.
If you want to flush on event listener – it’s better to subscribe to
With first option you have possibility to work with UnitOfWork directly and it’s better for performance reasons.
But most times second option will be easier to use as there you can flush directly without knowing how UnitOfWork works.
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
You will be redirected to [title]. Would you like to continue?
We collect cookie information with a goal to provide you with the best user experience. By using this website, you agree to our use of cookies. Read Oro Inc.’s Cookie policy.
You will be redirected to [title]. Would you like to continue?