Live blogging from SymfonyLive London 2019
This commit is contained in:
parent
c1a7c0c979
commit
ea143f274f
|
@ -234,10 +234,9 @@ Notifier
|
|||
```
|
||||
foreach ($client->stream($responses) as $response => $chunk) {
|
||||
if ($chunk->isLast()) {
|
||||
|
||||
// a $response completed
|
||||
} else {
|
||||
|
||||
// a $response's got network activity or timeout
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue