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

Function onInput

packages/platform/src/Ndjson.ts:160–163  ·  view source on GitHub ↗
(input: Chunk.Chunk<string>)

Source from the content-addressed store, hash-verified

158 never
159 > = Channel.readWithCause({
160 onInput(input: Chunk.Chunk<string>) {
161 const filtered = filterEmpty(input)
162 return Channel.zipRight(Chunk.isEmpty(filtered) ? Channel.void : Channel.write(filtered), loop)
163 },
164 onFailure(cause: Cause.Cause<IE>) {
165 return Channel.failCause(cause)
166 },

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.65
writeMethod · 0.65

Tested by

no test coverage detected