Emulate async/await call
View on GitHub