RxVarOps

wvlet.airframe.rx.RxVarOps
trait RxVarOps[A]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class RxOptionVar[A]
class RxVar[A]

Members list

Concise view

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

Attributes

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

Attributes

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

Attributes

def set(newValue: A): Unit