promise-any-ext
1.0.0 • Public • Published Promise.any()
Installation
npm install promise-any-ext
Usage
var Promise = global.Promise || require("es6-promise").Promise;
Promise.any = require('promise-any-ext');
var promises = [Promise.reject('a'), Promise.resolve('b')];
Promise.any(promises).then(function (value) {
});
Package Sidebar
Install
Weekly Downloads