MCPcopy Create free account
hub / github.com/effect-app/libs / toChannel

Function toChannel

repos/effect/packages/effect/src/unstable/socket/Socket.ts:444–455  ·  view source on GitHub ↗
(
  self: Socket
)

Source from the content-addressed store, hash-verified

442 */
443export const SocketErrorReason = Schema.Union([
444 SocketReadError,
445 SocketWriteError,
446 SocketOpenError,
447 SocketUpgradeError,
448 SocketCloseError
449])
450
451/**
452 * Union of socket-specific read, write, open, upgrade, and close error reasons.
453 *
454 * @category errors
455 * @since 4.0.0
456 */
457export type SocketErrorReason =
458 | SocketReadError

Callers 1

toChannelWithFunction · 0.70

Calls 1

toChannelMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…