( pubsub: PubSub.PubSub<A> )
| 536 | * @since 2.0.0 |
| 537 | */ |
| 538 | export const fromPubSub = <A>( |
| 539 | pubsub: PubSub.PubSub<A> |
| 540 | ): Sink<void, A> => forEachArray((arr) => PubSub.publishAll(pubsub, arr)) |
| 541 | |
| 542 | /** |
| 543 | * A sink that immediately ends with the specified value. |
nothing calls this directly
no test coverage detected