If you’re running some code and at some point it fires an event, the code will wait until the event completes.