Skip to content

Clarify async/await language documentation.#1

Open
bnprks wants to merge 1 commit into
masterfrom
bnprks-async-docs
Open

Clarify async/await language documentation.#1
bnprks wants to merge 1 commit into
masterfrom
bnprks-async-docs

Conversation

@bnprks

@bnprks bnprks commented Jun 9, 2021

Copy link
Copy Markdown
Owner

The async/await documentation was somewhat hard for me to follow when first learning. Two particular sticking points were:

  1. The alphabet example constructing the string "abcdefghi" breaks the stated rule that every async has a matching await.
  2. It was somewhat unclear to me what the rules for control flow were around async/await constructs.

I've tried to improve this documentation with some minimal explanatory edits, which are correct to the best of my beginner's understanding & experimentation.

The async/await documentation was somewhat hard for me to follow when first learning. Two particular sticking points were
1. The alphabet example constructing the string "abcdefghi" breaks the stated rule that every async has a matching await.
2. It was somewhat unclear to me what the rules for control flow were around async/await constructs.
I've tried to improve this documentation with some minimal explanatory edits, which are correct to the best of my beginner's understanding & experimentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant