Hola interview question

Transform a sync function into an async one