build

Builds a KoneIterator using the provided coroutine-based builder function.

Return

A new KoneIterator instance.

Parameters

builder

The suspending builder function that yields elements.

Type Parameters

Element

The type of elements.