let p = Repromise.promisify(resolve => resolve());
This is basically the new Promise constructor. It's more convenient when you already have a function that takes a callback, that you can call inside promisify. The existing Repromise.make is more convenient when you need to pass resolve to somewhere later, or store it.
This is basically the
new Promise
constructor. It's more convenient when you already have a function that takes a callback, that you can call insidepromisify
. The existingRepromise.make
is more convenient when you need to passresolve
to somewhere later, or store it.Not sure about the name yet :)