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

Function loop

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

Source from the content-addressed store, hash-verified

6583 })
6584
6585 function loop(chunk: Arr.NonEmptyReadonlyArray<string>): Pull.Pull<Arr.NonEmptyReadonlyArray<string>, Err, Done> {
6586 const lines = splitLinesArray(chunk)
6587 return lines !== null ? Effect.succeed(lines) : pullOrFlush
6588 }
6589
6590 return pullOrFlush
6591 })

Callers 2

flattenArrayFunction · 0.70
Channel.tsFile · 0.70

Calls 2

splitLinesArrayFunction · 0.85
succeedMethod · 0.45

Tested by

no test coverage detected