Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AsyncIterator<T, TReturn, TNext>

Type parameters

  • T

  • TReturn

  • TNext

Hierarchy

Index

Methods

Methods

next

  • Parameters

    • Rest ...args: [] | [TNext]

    Returns Promise<IteratorResult<T, TReturn>>

Optional return

  • Parameters

    Returns Promise<IteratorResult<T, TReturn>>

Optional throw

  • Parameters

    • Optional e: any

    Returns Promise<IteratorResult<T, TReturn>>