Grammar
N3AI-drafted〜うちに
while ~ (a state continues)
Formation
V-辞書形/V-ている + うちに、い形容詞(〜い) + うちに、な形容詞 + な + うちに、N + の + うちに
Usage
Marks a limited period during which a state still holds, and says you should act (or something changed) within it. With 〜ているうちに it often introduces an unnoticed change: 話しているうちに眠くなった. Compare 〜間に, which is neutral about timing; 〜うちに adds the feeling that the period will end, so act now.
Examples
熱いうちに召し上がってください。
あついうちにめしあがってください。
Please eat it while it's still hot.
若いうちにいろいろな経験をしたほうがいい。
わかいうちにいろいろなけいけんをしたほうがいい。
You should have all kinds of experiences while you're young.
日本語で話しているうちに、少しずつ慣れてきました。
にほんごではなしているうちに、すこしずつなれてきました。
As I kept speaking Japanese, I gradually got used to it.