MCPcopy 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

flowFunction · 0.90
isSocketFunction · 0.85
toChannelWithReaderFunction · 0.85
readerStringFunction · 0.85
closeErrorFunction · 0.85
getWriterFunction · 0.85
addFinalizerMethod · 0.80
makeFunction · 0.70
pipeMethod · 0.65
closeUnsafeMethod · 0.65
openUnsafeMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected