javascript-tutorial / javascript-tutorial/ru.javascript.info
Дополнение в статье про Promise
Open
Nobody has claimed this yet.
suggestion: tutorial
- Dominant language
- HTML
- Stars
- 4.1k
- Forks
- 922
- PR merge metrics
- No merged PRs in 30d
Description
Здравствуйте.
В главах про промисы не рассматриваются такие случаи:
new Promise((resolveOuter) => {
resolveOuter(
new Promise((resolveInner) => {
setTimeout(resolveInner, 1000);
}),
);
});
когда в промисе резолвится ещё один промис.
Было бы здорово рассмотреть и такое.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Promise chapters that explain resolving one promise with another and review the surrounding examples. Add coverage of the nested Promise case shown in the issue, including its delayed settlement behavior, and verify that the revised article examples render correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100