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

Function bufferChunk

packages/effect/src/internal/channel.ts:129–136  ·  view source on GitHub ↗
(
  ref: Ref.Ref<Chunk.Chunk<InElem>>
)

Source from the content-addressed store, hash-verified

127
128/** @internal */
129export const bufferChunk = <InElem, InErr, InDone>(
130 ref: Ref.Ref<Chunk.Chunk<InElem>>
131): Channel.Channel<Chunk.Chunk<InElem>, Chunk.Chunk<InElem>, InErr, InErr, InDone, InDone> =>
132 buffer({
133 empty: Chunk.empty(),
134 isEmpty: Chunk.isEmpty,
135 ref
136 })
137
138/** @internal */
139export const catchAll = dual<

Callers

nothing calls this directly

Calls 1

bufferFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…