Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
makeDecodePull
Function · 0.70
Calls
2
decodeLine
Function · 0.85
takeLine
Function · 0.85
Tested by
no test coverage detected