Home
last modified time | relevance | path

Searched refs:mapFunc (Results 1 – 2 of 2) sorted by relevance

/plugin/elasticsearch/vendor/react/promise/src/
H A Dfunctions.php226 * 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 DREADME.md566 $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.