This means something happens right when another thing is happening. It is like saying 'just as' or 'at the moment when'.
、。
I am very sorry to bother you when you are busy, but could I have a moment of your time?
へ、。
Just as the criminal was attempting to flee the country, they were arrested at the airport.
、。
Even though you saved me from a dangerous situation, I wasn't able to thank you properly.
、に。
Right after I had finished eating lunch, a sudden visitor arrived and I was busy dealing with them.
、に。
I was seen by my older sister just as I was secretly having a midnight snack.