File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -447,10 +447,10 @@ if `$promisesOrValues` contains 0 items.
447
447
$promise = React\Promise\some(array $promisesOrValues, integer $howMany);
448
448
```
449
449
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 .
454
454
455
455
The returned promise will reject if it becomes impossible for ` $howMany ` items
456
456
to resolve (that is, when ` (count($promisesOrValues) - $howMany) + 1 ` items
You can’t perform that action at this time.
0 commit comments