とたんに

as soon as

→ と
phrase Rare #23,598
as soon as Used when something happens immediately after an action or event, often unexpectedly. It follows a verb in the past form.
JA: ドアを開けたとたんに、猫が飛び出した。
EN: As soon as I opened the door, a cat jumped out.

女の子達は彼のジョークを聞いたとたんに笑い出した。

The girls burst out laughing as soon as they heard his joke.

私がそのクラスに入ったとたんに生徒たちが質問をはじめた。

As soon as I entered the class, the students started asking questions.

彼がそれに手を触れたとたんに爆発した。

The moment he touched it, it exploded.

私たちが帰宅したとたんに雨が降り出した。

As soon as we got home, it started to rain.

私はその本を買ったとたんに後悔した。

I regretted buying the book the moment I bought it.

雨が止んだとたんにきれいな虹が出た。

As soon as the rain stopped, a beautiful rainbow appeared.

彼に会ったとたんに、彼女はわっと泣き出した。

The moment she saw him, she burst into tears.

雨がやんだとたんに虹が現れた。

As soon as the rain stopped, a rainbow appeared.