Sha256: 294d1f5ec0e6366b36cc2781078dce1a913e87a52872372f9634b2e5776d41a1
Contents?: true
Size: 460 Bytes
Versions: 4
Compression:
Stored size: 460 Bytes
Contents
'use strict'; require('../../modules/es.promise'); require('../../modules/esnext.promise.with-resolvers'); var call = require('../../internals/function-call'); var isCallable = require('../../internals/is-callable'); var path = require('../../internals/path'); var Promise = path.Promise; var promiseWithResolvers = Promise.withResolvers; module.exports = function withResolvers() { return call(promiseWithResolvers, isCallable(this) ? this : Promise); };
Version data entries
4 entries across 4 versions & 1 rubygems