SubscriptionRef

final class SubscriptionRef[A]

A SubscriptionRef[A] contains a RefM with a value of type A and a ZStream that can be subscribed to in order to receive the current value as well as all changes to the value.

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete fields

val changes: Stream[Nothing, A]
val ref: RefM[A]