途端とたん
totanni

Adverb

1. just as; right after; in the act of; as soon as; at that moment

そのらせをいた途端とたん、彼かれあおざめた。
sono shiraseo kiita totanni karewa aozameta.
On hearing the news, he turned pale.