A convenience method for converting methods requiring a callback to return a promise instead