Forio interview question

Resolve multiple async actions at once at the same time before returning.