()
| 172 | # up once an event that sorts after it shows up on the other |
| 173 | # shard. So, we wait on try_next to eventually return changes. |
| 174 | def _wait_until(): |
| 175 | return stream.try_next() is not None |
| 176 | |
| 177 | wait_until(_wait_until, "get change from try_next") |
| 178 |