MCPcopy Create free account
hub / github.com/Effect-TS/effect / Reader

Interface Reader

packages/effect/src/socket/Socket.ts:127–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125 * @since 4.0.0
126 */
127export interface Reader<A extends Uint8Array | string = Uint8Array | string> {
128 readonly pull: Effect.Effect<NonEmptyReadonlyArray<A>, SocketError>
129 readonly upgrade: (options?: TlsUpgradeOptions) => Effect.Effect<void, SocketError>
130}
131
132/**
133 * The write side of a `Socket`.

Callers 10

Providers.tst.tsFile · 0.50
Runtime.test.tsFile · 0.50
makePageFunction · 0.50
Shared.test.tsFile · 0.50
HtmlServer.test.tsFile · 0.50
lateOwnerFunction · 0.50
makeSessionFunction · 0.50
Providers.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected