MCPcopy Index your code
hub / github.com/Effect-TS/effect / fromChunks

Function fromChunks

packages/effect/src/internal/stream.ts:3058–3060  ·  view source on GitHub ↗
(
  ...chunks: Array<Chunk.Chunk<A>>
)

Source from the content-addressed store, hash-verified

3056
3057/** @internal */
3058export const fromChunks = <A>(
3059 ...chunks: Array<Chunk.Chunk<A>>
3060): Stream.Stream<A> => pipe(fromIterable(chunks), flatMap(fromChunk))
3061
3062/** @internal */
3063export const fromEffect = <A, E, R>(effect: Effect.Effect<A, E, R>): Stream.Stream<A, E, R> =>

Callers

nothing calls this directly

Calls 2

pipeFunction · 0.70
fromIterableFunction · 0.70

Tested by

no test coverage detected