Searched refs:mapFunc (Results 1 – 2 of 2) sorted by relevance
/plugin/elasticsearch/vendor/react/promise/src/ |
H A D | functions.php | 226 * promises and/or values, and `$mapFunc` may return either a value or a promise. 232 * @param callable $mapFunc 235 function map($promisesOrValues, callable $mapFunc) argument 240 return new Promise(function ($resolve, $reject, $notify) use ($promisesOrValues, $mapFunc, $cancellationQueue) { 242 ->done(function ($array) use ($mapFunc, $cancellationQueue, $resolve, $reject, $notify) { 256 ->then($mapFunc)
|
/plugin/elasticsearch/vendor/react/promise/ |
H A D | README.md | 566 $promise = React\Promise\map(array|React\Promise\PromiseInterface $promisesOrValues, callable $mapFunc); 570 promises and/or values, and `$mapFunc` may return either a value or a promise.
|