MCPcopy Index your code
hub / github.com/Effect-TS/effect / toChannelWith

Function toChannelWith

packages/platform/src/Socket.ts:298–308  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

296 * @category combinators
297 */
298export const toChannelWith = <IE = never>() =>
299(
300 self: Socket
301): Channel.Channel<
302 Chunk.Chunk<Uint8Array>,
303 Chunk.Chunk<Uint8Array | string | CloseEvent>,
304 SocketError | IE,
305 IE,
306 void,
307 unknown
308> => toChannel(self)
309
310/**
311 * @since 1.0.0

Callers 2

makeChannelFunction · 0.85
makeWebSocketChannelFunction · 0.85

Calls 1

toChannelFunction · 0.70

Tested by

no test coverage detected