~うちに
While (a state still lasts), do … before it changes; while doing …, (without noticing) …
N3
V-dictionary / V-ている / V-ない + うちに / i-adj + うちに / na-adj + な + うちに / N + の + うちに
~うちに has two meanings. 1: do something while the current state lasts, because it will be hard later ({若|わか}いうちに, {明|あか}るいうちに, {忘|わす}れないうちに). 2: while doing something, a change happens without your noticing ({聞|き}いているうちに{眠|ねむ}くなった). Learners often use ~{間|あいだ}に for meaning 1, but {間|あいだ}に marks a period with clear limits and lacks the 'before it changes' nuance. Note that ~ないうちに means 'before …', e.g. {暗|くら}くならないうちに = before it gets dark.
Examples
明るいうちに、畑の仕事を終わらせましょう。
Let's finish the field work while it's still light.
忘れないうちに、作業の手順をメモしておきます。
I'll note down the work steps before I forget them.
毎日使っているうちに、機械の操作に慣れました。
By using it every day, I got used to operating the machine.
Exercises
1.料理が温かい 、どうぞ召し上がってください。
2.雨が降らない 、洗濯物を取り込もう。