Initiate a competitive race between multiple promises or values (values will become immediately fulfilled promises).
When count amount of promises have been fulfilled, the returned promise is fulfilled with an array that contains the fulfillment values of the winners in order of resolution.
This promise is rejected with a
GuzzleHttp\Promise\AggregateException if the number of
fulfilled promises is less than the desired $count.
Deprecated: some will be removed in guzzlehttp/promises:2.0. Use Utils::some instead.
Located at functions.php
||Total number of promises.|
||Promises or values.|
Return value summary