Function
changesStream
(self: TxSubscriptionRef<A>)
Source from the content-addressed store, hash-verified
| 494 | * @since 3.10.0 |
| 495 | */ |
| 496 | export const changesStream = <A>(self: TxSubscriptionRef<A>): Stream.Stream<A, never, never> => |
| 497 | Stream.unwrap( |
| 498 | Effect.map( |
| 499 | changes(self), |
| 500 | (sub) => Stream.fromEffectRepeat(Effect.tx(TxQueue.take(sub))) |
| 501 | ) |
| 502 | ) |
| 503 | |
| 504 | // ============================================================================= |
| 505 | // Guards |
Callers
nothing calls this directly
Tested by
no test coverage detected