!function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?module.exports=t():e.promiseNodeify=t()}(this,function(){
/** @module promise-nodeify
 * @copyright Copyright 2016-2018 Kevin Locke <kevin@kevinlocke.name>
 * @license MIT
 */
"use strict";var o="undefined"!=typeof process&&"function"==typeof process.nextTick?process.nextTick:"function"==typeof setImmediate?setImmediate:setTimeout;function i(e,t,n){try{t?e(t):e(null,n)}catch(e){o(function(){throw e})}}function n(e,n){if("function"!=typeof n)return e;e.then(function(e){i(n,null,e)},function(e){var t=e;t||((t=new Error(String(e))).cause=e),i(n,t)})}return n.delegated=function(e,t){return"function"==typeof e.nodeify?e.nodeify(t):n(e,t)},n.nodeifyThis=function(e){return n(this,e)},"object"==typeof exports&&(module.exports=n),n});
//# sourceMappingURL=promise-nodeify.min.js.map
