Skip to content

Commit

Permalink
Merge pull request #110 from seregazhuk/master
Browse files Browse the repository at this point in the history
Documentation improvement
  • Loading branch information
clue committed Oct 7, 2019
2 parents e49defd + f095eb7 commit b02f512
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -447,10 +447,10 @@ if `$promisesOrValues` contains 0 items.
$promise = React\Promise\some(array $promisesOrValues, integer $howMany);
```

Returns a promise that will resolve when `$howMany` of the supplied items in
`$promisesOrValues` resolve. The resolution value of the returned promise
will be an array of length `$howMany` containing the resolution values of the
triggering items.
Returns a promise that will resolve when at least `$howMany` of the supplied items in
`$promisesOrValues` fulfill. The resolution value of the returned promise
will be an array of length `$howMany` containing the resolution values of
`$howMany` fulfilled promises that were resolved first.

The returned promise will reject if it becomes impossible for `$howMany` items
to resolve (that is, when `(count($promisesOrValues) - $howMany) + 1` items
Expand Down

0 comments on commit b02f512

Please sign in to comment.