How to make"～や否や" in Japanese.
・ Meaning:～とすぐに、just as soon as
・ JLPT Level: 1 日本語能力試験N1級レベル
・ Category: grammar,文法
You can use ～や否やwhen you want to say"just as soon as doing something ".
The patterns is below:
Verb: Dictionary Form + や + いなや
例文：Examples of sentense (with audio)
As soon as our dog sees me, he starts barking.
As soon as the secret was found out, the politician announced his retirement.
As soon as I got home it started to rain.