JLPT N2
か~ないかのうちに
just as; right after; as soon as ~
Structure / Usage
Verb (た form) + か + Verb (ない form) + かのうちに
Example Sentences
ベッドに入ったか入らないかのうちに、眠ってしまった。
I fell asleep almost the instant I got into bed.
授業が終わったか終わらないかのうちに、学生たちは教室を出た。
Almost as soon as class ended, the students left the classroom.