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

Function loop

packages/effect/src/Channel.ts:6966–6969  ·  view source on GitHub ↗
(chunk: Arr.NonEmptyReadonlyArray<string>)

Source from the content-addressed store, hash-verified

6964 })
6965
6966 function loop(chunk: Arr.NonEmptyReadonlyArray<string>): Pull.Pull<Arr.NonEmptyReadonlyArray<string>, Err, Done> {
6967 const lines = splitLinesArray(chunk)
6968 return lines !== null ? Effect.succeed(lines) : pullOrFlush
6969 }
6970
6971 return pullOrFlush
6972 })

Callers 2

flattenArrayFunction · 0.70
Channel.tsFile · 0.70

Calls 2

splitLinesArrayFunction · 0.85
succeedMethod · 0.45

Tested by

no test coverage detected