Indicates the time when something happens; 'when', 'at the time of'.
Long explanation:
The ~折に grammar point is used to express the occurrence of another event at the time when a certain situation or event happens. It emphasizes the chance or timing of an event happening and correspondence with another event.