Skip to content

Commit bdf28d6

Browse files
committed
minor
1 parent 2ffe7c4 commit bdf28d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/11-async/03-promise-chaining/article.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ In practice we rarely need multiple handlers for one promise. Chaining is used m
102102

103103
## Returning promises
104104

105-
Normally, a value returned by a `.then` handler is immediately passed to the next handler. But there's an exception.
105+
A handler, used in `.then(handler)` may create and return a promise.
106106

107-
If the returned value is a promise, then the further execution is suspended until it settles. After that, the result of that promise is given to the next `.then` handler.
107+
In that case further handlers wait till it settles, and then get its result.
108108

109109
For instance:
110110

0 commit comments

Comments
 (0)