Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ onEnd
Function
onEnd
packages/platform/node-shared/src/NodeSocket.ts:256–258 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
254
drain()
255
}
256
function
onEnd() {
257
end(
new
Socket.SocketError({ reason:
new
Socket.SocketCloseError({ code: 1000 }) }))
258
}
259
function
onError(cause: Error) {
260
close(
261
new
Socket.SocketError({
Callers
nothing calls this directly
Calls
1
end
Function · 0.70
Tested by
no test coverage detected