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

Function toPubSub

packages/effect/src/internal/channel.ts:2209–2211  ·  view source on GitHub ↗
(
  pubsub: PubSub.PubSub<Either.Either<Elem, Exit.Exit<Done, Err>>>
)

Source from the content-addressed store, hash-verified

2207
2208/** @internal */
2209export const toPubSub = <Done, Err, Elem>(
2210 pubsub: PubSub.PubSub<Either.Either<Elem, Exit.Exit<Done, Err>>>
2211): Channel.Channel<never, Elem, never, Err, unknown, Done> => toQueue(pubsub)
2212
2213/** @internal */
2214export const toPull = <OutElem, InElem, OutErr, InErr, OutDone, InDone, Env>(

Callers 1

stream.tsFile · 0.85

Calls 1

toQueueFunction · 0.85

Tested by

no test coverage detected