Skip to content

Fix misleading information #3230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 1-js/11-async/06-promisify/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ For more exotic callback formats, like those without `err` at all: `callback(res
There are also modules with a bit more flexible promisification functions, e.g. [es6-promisify](https://github.com/digitaldesignlabs/es6-promisify). In Node.js, there's a built-in `util.promisify` function for that.

```smart
Promisification is a great approach, especially when you use `async/await` (see the next chapter), but not a total replacement for callbacks.
Promisification is a great approach, especially when you use `async/await` (see the chapter after next), but not a total replacement for callbacks.

Remember, a promise may have only one result, but a callback may technically be called many times.

Expand Down