This grammar shows that something happened suddenly. It happened while you were doing something else.
、。
Just as we were eating dinner, a guest suddenly arrived.
、。
The phone rang just as I was about to leave the house.
で、に「!」。
Just as I was fighting the boss in my game, my mom came into the room and said, 'Dinner's ready!'
で、。
Just as I was presenting in an important meeting, a tough question came flying from my boss.
、。
I was interrupted right while watching the drama I'd been looking forward to, so in the end I couldn't find out who the culprit was.