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

Function fromPubSub

packages/effect/src/Stream.ts:1166–1166  ·  view source on GitHub ↗
(pubsub: PubSub.PubSub<A>)

Source from the content-addressed store, hash-verified

1164 * @since 2.0.0
1165 */
1166export const fromPubSub = <A>(pubsub: PubSub.PubSub<A>): Stream<A> => fromChannel(Channel.fromPubSubArray(pubsub))
1167
1168/**
1169 * Creates a stream from a PubSub of `Take` values.

Callers

nothing calls this directly

Calls 1

fromChannelFunction · 0.70

Tested by

no test coverage detected