〜たとたん(に)
N3〜した直後に予想外のことが起きた
the moment; just as
接続 / Structure
動詞た形+とたん(に)
例文 / Example
ドアを開けたとたん、猫が飛び出してきた。
The moment I opened the door, a cat jumped out.
ポイント / Note
後件には話者の意志的な行動は来ない。
The second clause describes an unexpected event, not the speaker's intentional action.