Methods
-
(static) denodeify(fn, thatopt) → {function}
-
Wraps a node-async-style function so it can return a promise.
Parameters:
Name Type Attributes Description fn
function that
* <optional>
The `this` argument passed to `fn` Returns:
A function which returns a promise.- Type
- function