Skip to content

fx-flow v0.7.0 / pipe/strict / AsyncIterator

Interface: AsyncIterator<T, TReturn, TNext>

Extended by

Type parameters

T

TReturn = any

TNext = undefined

Methods

next()

next(...args): Promise<IteratorResult<T, TReturn>>

Parameters

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

Returns

Promise<IteratorResult<T, TReturn>>

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:32


return()?

optional return(value?): Promise<IteratorResult<T, TReturn>>

Parameters

value?: TReturn | PromiseLike<TReturn>

Returns

Promise<IteratorResult<T, TReturn>>

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:33


throw()?

optional throw(e?): Promise<IteratorResult<T, TReturn>>

Parameters

e?: any

Returns

Promise<IteratorResult<T, TReturn>>

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts:34

Released under the MIT License.