Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ Socket.ts
File
Socket.ts
packages/effect/src/socket/Socket.ts ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/**
2
* Models bidirectional socket connections in Effect.
3
*
4
* A `Socket` exposes a pull-based `reader` and a scoped `writer`. Acquiring
Callers
nothing calls this directly
Calls
15
flow
Function · 0.90
isSocket
Function · 0.85
toChannelWithReader
Function · 0.85
readerString
Function · 0.85
closeError
Function · 0.85
getWriter
Function · 0.85
addFinalizer
Method · 0.80
make
Function · 0.70
pipe
Method · 0.65
closeUnsafe
Method · 0.65
openUnsafe
Method · 0.65
read
Method · 0.65
Tested by
no test coverage detected