途端 とたん
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.