Verb[ない] + 間に
[i-adj] + 間に
[na-adj] + な + 間に
[noun] + の + 間に
The grammar pattern 間に is used to express that something happens (or happened) during a certain period or while another action is taking place. The key nuance is that the event described after 間に occurs at some point within the time frame – it does not necessarily last the entire duration.
間に is used when a specific event occurs during a broader time frame or ongoing action.
間に and 間 (without に) work differently.
間に often pairs with actions that are completed or discovered during the time frame – things like arriving, happening, changing, or finishing.
The expression しらない知らないあいだ間に ("without realizing" / "before I knew it") is a very common set phrase.