Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tinyhttp/tinyhttp
/ writeEnd
Function
writeEnd
packages/session/src/index.ts:387–395 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
385
let
sync = true
386
387
function
writeEnd() {
388
if
(sync) {
389
ret = _end.call(res, chunk, encoding)
390
sync = false
391
return
392
}
393
394
_end.call(res, null,
''
)
395
}
396
397
function
writetop() {
398
if
(!sync)
return
ret
Callers
1
SessionManager
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected