Update documentation and examples to Node.js 8 async/await
Type of issue
Feature request
It's kinda hard to understand where to use async/await in code
@k-miras could you send us the link of which documentation is confusing? There's a lot of documentation, so it's hard to know which one is causing you trouble.
@SBoudrias
- http://yeoman.io/authoring/running-context.html - part about async tasks. How it works with async/await?
- http://yeoman.io/authoring/user-interactions.html - part about user prompts with Inquirer.js. If it returns promise, is it possible to use multiple
this.prompt()and handle it with async/await in one prompt method? - Question not related to async/await - is it possible to write an example with multiple prompt methods and show execution sequence of them in http://yeoman.io/authoring/user-interactions.html ? I know that methods are queued and executed by it's name, but I get that later on reading documentation at http://yeoman.io/authoring/running-context.html
By the way, thanx for fast response
I realize this is a very old bug/help request, but I have the same issue, essentially. What I'm trying to wrap my head around is how to make sure that something in my writing() section is fully executed before my install() section runs, because in this case I'm editing package.json, but it's running npm install before I've finished updating it.