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

Function toReadableNever

packages/platform/node-shared/src/NodeStream.ts:203–207  ·  view source on GitHub ↗
(stream: Stream.Stream<string | Uint8Array, E, never>)

Source from the content-addressed store, hash-verified

201 * @since 4.0.0
202 */
203export const toReadableNever = <E>(stream: Stream.Stream<string | Uint8Array, E, never>): Readable =>
204 new StreamAdapter(
205 Context.empty(),
206 stream
207 )
208
209/**
210 * Consumes a Node readable stream into a string using the selected encoding,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected