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

Function fromPubSubTake

packages/effect/src/Stream.ts:1199–1200  ·  view source on GitHub ↗
(pubsub: PubSub.PubSub<Take.Take<A, E>>)

Source from the content-addressed store, hash-verified

1197 * @since 4.0.0
1198 */
1199export const fromPubSubTake = <A, E>(pubsub: PubSub.PubSub<Take.Take<A, E>>): Stream<A, E> =>
1200 fromChannel(Channel.fromPubSubTake(pubsub))
1201
1202/**
1203 * Creates a stream from a lazily supplied Web `ReadableStream`.

Callers

nothing calls this directly

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected