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

Function fromChunk

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

Source from the content-addressed store, hash-verified

704 * @since 4.0.0
705 */
706export const fromChunk = <A>(chunk: Chunk.Chunk<A>): Channel<A> => fromArray(Chunk.toReadonlyArray(chunk))
707
708/**
709 * 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