Async's auto function made easy