MCPcopy Create free account
hub / github.com/Effect-TS/effect / fromChunk

Function fromChunk

packages/effect/src/Channel.ts:773–773  ·  view source on GitHub ↗
(chunk: Chunk.Chunk<A>)

Source from the content-addressed store, hash-verified

771 * @since 4.0.0
772 */
773export const fromChunk = <A>(chunk: Chunk.Chunk<A>): Channel<A> => fromArray(Chunk.toReadonlyArray(chunk))
774
775/**
776 * Creates a `Channel` from an iterator that emits arrays of elements.

Callers

nothing calls this directly

Calls 1

fromArrayFunction · 0.70

Tested by

no test coverage detected