Function any
Like some(), with 1 as count. However, if the promise fulfills, the fulfillment value is not an array of 1 but the value directly.
Namespace: GuzzleHttp\Promise
Deprecated: any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead.
Located at functions.php
Deprecated: any will be removed in guzzlehttp/promises:2.0. Use Utils::any instead.
Located at functions.php
Parameters summary
mixed |
$promises |
Promises or values. |
Return value summary
|
PromiseInterface |