UNPKG

@constantiner/fun-ctional

Version:

The library brings most of the familiar functional techniques (like functional composition) to asynchronous world with shining Promises

3 lines (2 loc) 424 B
!function(n,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(n=n||self).funCtional=e()}(this,function(){"use strict";var t=Symbol.for("Custom Promise Handling Support");return function(e){return function(n,e){return n[t]=e,n}(function(n){return Promise.resolve(n).catch(e)},function(n){return n.catch(e)})}}); //# sourceMappingURL=acatch.min.js.map