adverb
Expresses relief or satisfaction that something long-awaited or difficult has finally happened.
長い冬が終わって、やっと春が来た。
The long winter is over, and spring has finally come.
After waiting in line for hours, I was finally able to buy a ticket.
adverb
Indicates that something was achieved with great difficulty or by a very small margin; often used with verbs like 間に合う or 合格する.
終電にやっと間に合った。
I barely caught the last train.
試験にやっと合格した。
I just barely passed the exam.