log yield
This commit is contained in:
parent
3a4b04c1ec
commit
dc0349d745
|
@ -25,6 +25,7 @@ $requests = function ($n) use ($client) {
|
|||
|
||||
for ($i = 0; $i < $n; $i++) {
|
||||
yield function() use ($client, $uri, $i) {
|
||||
Lib\printf(' yield '. $i);
|
||||
return $client->getAsync($uri . http_build_query(['o' => $i, 's' => random_int(1, 5)]));
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue