( pubsub: PubSub.PubSub<Either.Either<Elem, Exit.Exit<Done, Err>>> )
| 682 | |
| 683 | /** @internal */ |
| 684 | export const fromPubSub = <Done, Err, Elem>( |
| 685 | pubsub: PubSub.PubSub<Either.Either<Elem, Exit.Exit<Done, Err>>> |
| 686 | ): Channel.Channel<Elem, unknown, Err, unknown, Done, unknown> => |
| 687 | unwrapScoped(Effect.map(PubSub.subscribe(pubsub), fromQueue)) |
| 688 | |
| 689 | /** @internal */ |
| 690 | export const fromPubSubScoped = <Done, Err, Elem>( |
nothing calls this directly
no test coverage detected