RxVarOps

trait RxVarOps[A]
class Object
trait Matchable
class Any
class RxOptionVar[A]
class RxVar[A]

Value members

Abstract methods

def foreach[U](f: A => U): Cancelable
def foreachEvent[U](effect: RxEvent => U): Cancelable
def get: A
def setException(e: Throwable): Unit

Propagate an error to the subscribers

Propagate an error to the subscribers

def update(updater: A => A, force: Boolean): Unit

Updates the variable and trigger the recalculation of the subscribers currentValue => newValue

Updates the variable and trigger the recalculation of the subscribers currentValue => newValue

Concrete methods

def :=(newValue: A): Unit
def forceSet(newValue: A): Unit
def forceUpdate(updater: A => A): Unit

Update the variable and force notification to subscribers

Update the variable and force notification to subscribers

def set(newValue: A): Unit