Type alias ReadOnlyAsyncIterator<Item, Return, Next>

ReadOnlyAsyncIterator<Item, Return, Next>: ReadOnly<AsyncIterator<Item, Return, Next>>

Read-only AsyncIterator.

Remarks

This is just an read-only alternative to AsyncIterator to avoid unwanted mutations.

Type Parameters

  • Item = unknown

    Type of the items in the AsyncIterator.

  • Return = void

    Type of the return value in the AsyncIterator.

  • Next = void

    Type of the next value in the AsyncIterator.