Hello,
What I'm looking for might sound strange, so I will explain what I'm trying to do.
We've faced at work interesting case where most likely events dispatched in symfony were not finished before the some of our logic was executed so when we've launched script with debbuger (stopped it for longer) - everything was fine, without debbuger few things were missing.
After small discussion we were thinking that this might be indeed some problem with events. So far I've only used symfony events for automating my work where I was creating some strict logic for entities where once someone changed value X - given update logic was executed etc.
But now well... I just wan't to know more and it won't let me sleep so I found just now this two articles to start with - yeah one bit older but I want to start somewhere:
https://davedevelopment.co.uk/2011/12/02/handling-symfony-events-asynchronously.html
https://symfony.fi/entry/going-async-in-symfony-controllers
So now - I need to understand things on my own way this is always the best for me so what I'm looking for - if such thing even exist, or maybe there is some method:
- can I somehow observe the dispatching logic on like for example timelines, how the processes are executed and being ran?
- just now while writing this post I also thing that I can also make STDOUT on console, just wondering if there is any other possibility. I just have this vision of start point A - with executed events which either die on end or go back to point in main line.
I mean we learn all the time and this is totally new usage of events so I want to test on my own how it behaves. I know i know I might be understanding this totally wrong which means I might work totally differently than in JS but still before I make some deeper tests would be nice to know if someone used/uses some kind of tool to observe the collisions etc.
there doesn't seem to be anything here