Returns an asynchronous iterator that yields chunks of size n. Python-3.5 available for Python 3.5+ only
(self, n)
| 49 | return AsyncStreamIterator(self.readline) |
| 50 | |
| 51 | def iter_chunked(self, n): |
| 52 | """Returns an asynchronous iterator that yields chunks of size n. |
| 53 | |
| 54 | Python-3.5 available for Python 3.5+ only |
| 55 | """ |
| 56 | return AsyncStreamIterator(lambda: self.read(n)) |
| 57 | |
| 58 | def iter_any(self): |
| 59 | """Returns an asynchronous iterator that yields slices of data |