EY Interview Question

How to handle asynchronous calls?