Return the last n items of the aiterable.
n
aiterable
aiterable (AsyncIterable[T]) – Iterable.
n (int) – Count.
Iterator.
AsyncIterator[T]
Examples
>>> aiterable = arange(23) >>> [num async for num in atail(aiterable, n=4)] [19, 20, 21, 22]
Because asyncio.gather() is not enough!
API Reference