diff options
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/currently-unhandled/index.js')
-rw-r--r-- | bin/wiki/ImportarDesdeURL/node_modules/currently-unhandled/index.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/currently-unhandled/index.js b/bin/wiki/ImportarDesdeURL/node_modules/currently-unhandled/index.js new file mode 100644 index 00000000..238b9d9f --- /dev/null +++ b/bin/wiki/ImportarDesdeURL/node_modules/currently-unhandled/index.js @@ -0,0 +1,12 @@ +'use strict'; +var core = require('./core'); + +module.exports = function (p) { + p = p || process; + var c = core(); + + p.on('unhandledRejection', c.onUnhandledRejection); + p.on('rejectionHandled', c.onRejectionHandled); + + return c.currentlyUnhandled; +}; |