'〜や否や': Instantaneous Consequence ('No Sooner Had... Than Immediately')
[Verb Dict Form] + や否や (やいなや) (Sudden immediate consecutive action)
'〜や否や' indicates that no sooner had the first action taken place than the subsequent action occurred with lightning-fast immediacy ('no sooner had... than...', 'the very instant...'). Clause 2 describes a completed factual event, not speaker intention.
⚠ Note: No future volition: Clause 2 cannot express commands, requests, or intentions. It reports an objective sudden reality.
彼はベルが鳴るや否や、教室を飛び出していった。
No sooner had the bell rung than he bolted out of the classroom.
主人の顔を見るや否や、犬は嬉しそうにしっぽを振った。
The instant it saw its master's face, the dog wagged its tail delightfully.