Function
toReadable
(
stream: Stream.Stream<Uint8Array | string, E, R>
)
Source from the content-addressed store, hash-verified
| 362 | |
| 363 | /** @internal */ |
| 364 | export const toReadable = <E, R>( |
| 365 | stream: Stream.Stream<Uint8Array | string, E, R> |
| 366 | ): Effect.Effect<Readable, never, R> => |
| 367 | Effect.map( |
| 368 | Effect.runtime<R>(), |
| 369 | (runtime) => new StreamAdapter(runtime, stream) |
| 370 | ) |
| 371 | |
| 372 | /** @internal */ |
| 373 | export const toReadableNever = <E>( |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…