AsyncGenerator

external class AsyncGenerator<out T, TReturn, in TNext> : AsyncIterator<T> (source)

Functions

Link copied to clipboard
open operator fun get(key: Symbol.asyncIterator): () -> AsyncIterator<T>
Link copied to clipboard
open inline operator override fun iterator(): SuspendableIterator<T>
Link copied to clipboard
open override fun next(): Promise<IteratorResult<T, TReturn>>
fun next(value: TNext = definedExternally): Promise<IteratorResult<T, TReturn>>
Link copied to clipboard
Link copied to clipboard