3. in the act of ...; just as one is ...
after the -masu stem of a verb
彼は振り返りざまに手を振った。He waved as he turned to look back.
4. manner of ...; way of ...
after the -masu stem of a verb
強敵の散り様を見届けた俺はふうと一息つく。Having watched the way my formidable foe fell to the very end, I let out a sigh of relief.