mirror of
https://github.com/danog/parallel-functions.git
synced 2024-11-26 20:34:49 +01:00
Fix example
This commit is contained in:
parent
b5f46e0eaf
commit
d57bfecbf5
@ -33,7 +33,7 @@ $responses = wait(parallelMap([
|
|||||||
'https://stackoverflow.com/',
|
'https://stackoverflow.com/',
|
||||||
], function ($url) {
|
], function ($url) {
|
||||||
return file_get_contents($url);
|
return file_get_contents($url);
|
||||||
})));
|
}));
|
||||||
```
|
```
|
||||||
|
|
||||||
Further examples can be found in the [`./examples`](examples) directory.
|
Further examples can be found in the [`./examples`](examples) directory.
|
||||||
|
Loading…
Reference in New Issue
Block a user