いる間に

while ... is happening

→ 居る
phrase Uncommon #11,445
while ... is happening Often follows a verb in the ている form to describe something that happens during an ongoing action or state.
JA: 母が料理している間に、宿題をしました。
EN: While my mother was cooking, I did my homework.

先生が教えている間に、生徒は寝ていた。

The student was sleeping while the teacher was teaching.

ラジオをきいている間に寝てしまった。

I fell asleep while listening to the radio.

君が服を着ている間に盗んだのさポケットに入れたんだ

I stole it while you were getting dressed and put it in your pocket.

— タイタニック (1997)

まだ晴れている間に洗濯をしなければなりません。

I have to do the laundry while it’s still sunny.

バスを待っている間に夕立にあった。

I got caught in a sudden rain shower while waiting for the bus.