What is the function of the yāʾ in جَاءَنِي?

Noun Case Class 7 — Maqṣūr and Nouns with Possessive Yāʾ