I'm playing around with a promises control flow, using bluebird. Bluebird provides a .promisify() method for converting a regular callback function into a promise function, but I'm unclear what I should be doing when the function is irregular. For example the method signature for a requestjs request is
request(url, callback)
where callback is
err, res, body
instead of the regular
err, res
How should I be converting this to a promise?