arrow-fx-coroutines / arrow.fx.coroutines.stream / Chunk / <init>

<init>

Chunk()

Strict, finite sequence of values that allows index-based random access of elements.

Chunks can be created from a variety of collection types using methods on the Chunk companion i.e. Chunk, Chunk.iterable, Chunk.array. Additionally, the Chunk companion defines a subtype of Chunk for each primitive type, using an unboxed primitive array.

The operations on Chunk are all defined strictly. For example, c.map(f).map(g).map(h) results in intermediate chunks being created (1 per call to map).

Do you like Arrow?

Arrow Org
<