backthen
Run a callback as a thenable
Usage
var backthen = ;var fs = ; /* * @param {function} func - function to call * @param {object} scope - scope for func * @param {...any} params - parameters for the function * * @return {Promise} */ // Receives array if callback// invoked with multiple params;// otherwise a single value { // handle the fulfillment} { // handle the rejection}