(queue: Queue.Dequeue<A, E>)
| 1130 | * @since 2.0.0 |
| 1131 | */ |
| 1132 | export const fromQueue = <A, E>(queue: Queue.Dequeue<A, E>): Stream<A, Exclude<E, Cause.Done>> => |
| 1133 | fromChannel(Channel.fromQueueArray(queue)) |
| 1134 | |
| 1135 | /** |
| 1136 | * Creates a stream from a subscription to a `PubSub`. |