log yield

This commit is contained in:
Sergio Álvarez 2019-11-22 20:36:58 +01:00
parent 3a4b04c1ec
commit dc0349d745
1 changed files with 1 additions and 0 deletions

View File

@ -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)]));
};
}