preposition
upon
At the time of or immediately after something.
Upon hearing the news, she calls her family immediately.
Etymology
The spatial compound acquired a temporal use through immediate association. Upon an event means at its occurrence or directly afterward.