Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
doc: use 'Node.js style' callback
  • Loading branch information
lossycache committed Dec 12, 2017
commit 1c272f9ca679e739c5e2a82cdd27a86ce6ae690d
4 changes: 2 additions & 2 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ will return its value, see [Custom promisified functions][].
`promisify()` assumes that `original` is a function taking a callback as its
final argument in all cases. If `original` is not a function, `promisify()`
will throw an error. If `original` is a function but its last argument is not a
node-style callback, it will be still be passed a node-style callback as its last
argument anyways.
Node.js style callback, it will be still be passed a Node.js style callback as its last
argument.

### Custom promisified functions

Expand Down