Sha256: 01410eb1ab830725e3622294182aa088208a5f5030465fe16e39812510d02c2c
Contents?: true
Size: 348 Bytes
Versions: 29
Compression:
Stored size: 348 Bytes
Contents
'use strict'; require('../../modules/es.promise'); require('../../modules/esnext.promise.try'); var path = require('../../internals/path'); var Promise = path.Promise; var promiseTry = Promise['try']; module.exports = { 'try': function (callbackfn) { return promiseTry.call(typeof this === 'function' ? this : Promise, callbackfn); } }['try'];
Version data entries
29 entries across 28 versions & 9 rubygems