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

Function toChannel

packages/effect/src/Stream.ts:656–658  ·  view source on GitHub ↗
(
  stream: Stream<A, E, R>
)

Source from the content-addressed store, hash-verified

654 * @since 2.0.0
655 */
656export const toChannel = <A, E, R>(
657 stream: Stream<A, E, R>
658): Channel.Channel<Arr.NonEmptyReadonlyArray<A>, E, void, unknown, unknown, unknown, R> => stream.channel
659
660/**
661 * Creates a stream from a callback that can emit values into a queue.

Callers 1

Stream.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected