Skip to content

fx-flow v0.7.0 / pipe/lazy / Generator

Interface: Generator<T, TReturn, TNext>

Extends

Type parameters

T = unknown

TReturn = any

TNext = unknown

Methods

[iterator]()

[iterator](): Generator<T, TReturn, TNext>

Returns

Generator<T, TReturn, TNext>

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts:26


next()

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

Parameters

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

Returns

IteratorResult<T, TReturn>

Overrides

Iterator.next

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts:23


return()

return(value): IteratorResult<T, TReturn>

Parameters

value: TReturn

Returns

IteratorResult<T, TReturn>

Overrides

Iterator.return

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts:24


throw()

throw(e): IteratorResult<T, TReturn>

Parameters

e: any

Returns

IteratorResult<T, TReturn>

Overrides

Iterator.throw

Source

node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts:25

Released under the MIT License.