RxOptionVar

class RxOptionVar[A](variable: RxVar[Option[A]]) extends RxOption[A] with RxVarOps[Option[A]]

RxVar implementation for Option[A] type values

trait RxVarOps[Option[A]]
trait RxOption[A]
trait Rx[Option[A]]
class Object
trait Matchable
class Any

Value members

Concrete methods

override
def foreach[U](f: Option[A] => U): Cancelable
Definition Classes
override
def foreachEvent[U](effect: RxEvent => U): Cancelable
Definition Classes
override
def get: Option[A]
Definition Classes
override
def parents: Seq[Rx[_]]
Definition Classes
override
def setException(e: Throwable): Unit
Definition Classes
override
def toString: String
Definition Classes
Any
override
def update(updater: Option[A] => Option[A], force: Boolean): Unit
Definition Classes

Inherited methods

def :=(newValue: Option[A]): Unit
Inherited from
RxVarOps
def cache[A1 >: A]: RxOptionCache[A1]
Inherited from
RxOption
def filter(f: A => Boolean): RxOption[A]
Inherited from
RxOption
def flatMap[B](f: A => Rx[B]): RxOption[B]
Inherited from
RxOption
def forceSet(newValue: Option[A]): Unit
Inherited from
RxVarOps
def forceUpdate(updater: Option[A] => Option[A]): Unit

Update the variable and force notification to subscribers

Update the variable and force notification to subscribers

Inherited from
RxVarOps
def getOrElse[A1 >: A](default: => A1): RxStream[A1]
Inherited from
RxOption
def getOrElseRx[A1 >: A](default: => Rx[A1]): RxStream[A1]
Inherited from
RxOption
def map[B](f: A => B): RxOption[B]
Inherited from
RxOption
def orElse[A1 >: A](default: => Option[A1]): RxOption[A1]
Inherited from
RxOption
def recover[U](f: PartialFunction[Throwable, U]): RxStream[U]

Recover from a known error and emit a replacement value

Recover from a known error and emit a replacement value

Inherited from
Rx
def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): RxStream[A]

Recover from a known error and emit replacement values from a given Rx

Recover from a known error and emit replacement values from a given Rx

Inherited from
Rx
def run[U](effect: Option[A] => U): Cancelable

Evaluate this Rx[A] and apply the given effect function. Once OnError(e) or OnCompletion is observed, it will stop the evaluation.

Evaluate this Rx[A] and apply the given effect function. Once OnError(e) or OnCompletion is observed, it will stop the evaluation.

Inherited from
Rx
def runContinuously[U](effect: Option[A] => U): Cancelable

Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported. This is useful for keep processing streams.

Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported. This is useful for keep processing streams.

Inherited from
Rx
def set(newValue: Option[A]): Unit
Inherited from
RxVarOps
def subscribe[U](subscriber: Option[A] => U): Cancelable
Inherited from
Rx
override
def toRxStream: RxStream[Option[A]]
Definition Classes
Inherited from
RxOption
def toSeq: Seq[Option[A]]

Materialize the stream as Seq[A]. This works only for the finite stream and for Scala JVM.

Materialize the stream as Seq[A]. This works only for the finite stream and for Scala JVM.

Inherited from
Rx
def transform[B](f: Option[A] => B): RxStream[B]
Inherited from
RxOption
def transformOption[B](f: Option[A] => Option[B]): RxOption[B]
Inherited from
RxOption
def transformRx[B](f: Option[A] => Rx[B]): RxStream[B]
Inherited from
RxOption
def transformRxOption[B](f: Option[A] => RxOption[B]): RxOption[B]
Inherited from
RxOption
def withFilter(f: A => Boolean): RxOption[A]
Inherited from
RxOption