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

Function flush

packages/effect/src/encoding/Ndjson.ts:420–421  ·  view source on GitHub ↗
(out: Array<unknown>)

Source from the content-addressed store, hash-verified

418 }
419
420 const flush = (out: Array<unknown>) =>
421 pendingBytes === 0 ? undefined : decodeLine(takeLine(emptyBytes, 0, 0), out, true)
422
423 return makeDecodePull(upstream, step, flush)
424 })

Callers 1

makeDecodePullFunction · 0.70

Calls 2

decodeLineFunction · 0.85
takeLineFunction · 0.85

Tested by

no test coverage detected