3. We ran to the shore in time to see…
They ran all the way to the corner just in time to see the bus disappearing up the street.
The painting was successfully repaired in time for the opening of the exhibition.
We arrived at the concert hall in good time/ in plenty of time. (a long time before the necessary time)