MCPcopy Index your code
hub / github.com/Effect-TS/effect / fromPubSub

Function fromPubSub

packages/effect/src/internal/sink.ts:1427–1432  ·  view source on GitHub ↗
(
  pubsub: PubSub.PubSub<In>,
  options?: {
    readonly shutdown?: boolean | undefined
  }
)

Source from the content-addressed store, hash-verified

1425
1426/** @internal */
1427export const fromPubSub = <In>(
1428 pubsub: PubSub.PubSub<In>,
1429 options?: {
1430 readonly shutdown?: boolean | undefined
1431 }
1432): Sink.Sink<void, In> => fromQueue(pubsub, options)
1433
1434/** @internal */
1435export const fromPush = <In, L0, R0, L, R>(

Callers

nothing calls this directly

Calls 1

fromQueueFunction · 0.70

Tested by

no test coverage detected