aenumerate

Async version of enumerate.

Signature:

def aenumerate(iterable: AsyncIterator[_T] | AsyncIterable[_T]) -> AsyncIterator[Tuple[int, _T]]:
...

Parameters:

  1. iterable:

    Type
    AsyncIterator[_T] | AsyncIterable[_T]