Skip to content
This repository has been archived by the owner on Aug 31, 2018. It is now read-only.

Commit

Permalink
doc: add return value to util.promisify
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#16040
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
SupaMic authored and addaleax committed Oct 26, 2017
1 parent 1271ebc commit 81738ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ added: v8.0.0
-->

* `original` {Function}
* Returns: {Function}

Takes a function following the common Node.js callback style, i.e. taking a
`(err, value) => ...` callback as the last argument, and returns a version
Expand Down

0 comments on commit 81738ef

Please sign in to comment.