Options
All
  • Public
  • Public/Protected
  • All
Menu

An async iterator returned by ReadableStream.values.

Type parameters

  • R

Hierarchy

  • AsyncIterator<R>
    • ReadableStreamAsyncIterator

Index

Methods

Methods

next

  • next(): Promise<IteratorResult<R, any>>
  • Returns Promise<IteratorResult<R, any>>

return

  • return(value?: any): Promise<IteratorResult<any, any>>
  • Parameters

    • Optional value: any

    Returns Promise<IteratorResult<any, any>>

Optional throw

  • throw(e?: any): Promise<IteratorResult<R, any>>
  • Parameters

    • Optional e: any

    Returns Promise<IteratorResult<R, any>>

Generated using TypeDoc