Merge pull request #478 from vvnc/patch-1

Fix typo
This commit is contained in:
Ilya Kantor 2018-08-30 13:42:57 +03:00 committed by GitHub
commit 0345b92804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,7 @@ The properties `state` and `result` of the Promise object are internal. We can't
## Consumers: "then" and "catch"
A Promise object serves as a link between the executor (the "producing code" or "singer) and the consuming functions (the "fans"), which will receive the result or error. Consuming functions can be registered (subscribed) using the methods `.then` and `.catch`.
A Promise object serves as a link between the executor (the "producing code" or "singer") and the consuming functions (the "fans"), which will receive the result or error. Consuming functions can be registered (subscribed) using the methods `.then` and `.catch`.
The syntax of `.then` is: