Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async/await is not functioning as expected #1

Open
neilthawani opened this issue May 14, 2018 · 0 comments
Open

async/await is not functioning as expected #1

neilthawani opened this issue May 14, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@neilthawani
Copy link
Owner

neilthawani commented May 14, 2018

In order to avoid callback hell, I used async--await. However, it is not waiting until some files are created before executing later functions.

Not sure what I'm doing wrong.

Sample code, for future reference: https://gist.githubusercontent.com/BinuraG/b4a07e73e934630ea5483a60ac6c0d2c/raw/f6a8ae846dc00ce1342dfe4c09204d6bb7c15051/main.js

https://hackernoon.com/6-reasons-why-javascripts-async-await-blows-promises-away-tutorial-c7ec10518dd9

@neilthawani neilthawani added the bug Something isn't working label May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant