Promise.any | bluebird (original) (raw)

Edit on Github
Updated 08 Mar 2021

← Back To API Reference

Promise.any(Iterable<any>|Promise<Iterable<any>> input) -> Promise

Like Promise.some, with 1 as count. However, if the promise fulfills, the fulfillment value is not an array of 1 but the value directly.