Skip to content

Commit f095eb7

Browse files
committed
Improve documentation
1 parent 21b667c commit f095eb7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,10 @@ if `$promisesOrValues` contains 0 items.
447447
$promise = React\Promise\some(array $promisesOrValues, integer $howMany);
448448
```
449449

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

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

0 commit comments

Comments
 (0)