c

wvlet.airframe.rx

RxOptionVar

class RxOptionVar[A] extends RxOption[A] with RxVarOps[Option[A]]

RxVar implementation for Option[A] type values

Linear Supertypes
RxVarOps[Option[A]], RxOption[A], RxOps[Option[A]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RxOptionVar
  2. RxVarOps
  3. RxOption
  4. RxOps
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RxOptionVar(variable: RxVar[Option[A]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def :=(newValue: Option[A]): Unit
    Definition Classes
    RxVarOps
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def cache[A1 >: A]: RxOptionCache[A1]
    Definition Classes
    RxOption
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def filter(f: (A) => Boolean): RxOption[A]
    Definition Classes
    RxOption
  11. def flatMap[B](f: (A) => Rx[B]): RxOption[B]
    Definition Classes
    RxOption
  12. def forceSet(newValue: Option[A]): Unit
    Definition Classes
    RxVarOps
  13. def forceUpdate(updater: (Option[A]) => Option[A]): Unit

    Update the variable and force notification to subscribers

    Update the variable and force notification to subscribers

    Definition Classes
    RxVarOps
  14. def foreach[U](f: (Option[A]) => U): Cancelable
    Definition Classes
    RxOptionVarRxVarOps
  15. def foreachEvent[U](effect: (RxEvent) => U): Cancelable
    Definition Classes
    RxOptionVarRxVarOps
  16. def get: Option[A]
    Definition Classes
    RxOptionVarRxVarOps
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def getOrElse[A1 >: A](default: => A1): Rx[A1]
    Definition Classes
    RxOption
  19. def getOrElseRx[A1 >: A](default: => Rx[A1]): Rx[A1]
    Definition Classes
    RxOption
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def in: Rx[Option[A]]
    Attributes
    protected
    Definition Classes
    RxOptionVarRxOption
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def map[B](f: (A) => B): RxOption[B]
    Definition Classes
    RxOption
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def orElse[A1 >: A](default: => Option[A1]): RxOption[A1]
    Definition Classes
    RxOption
  28. def parents: Seq[Rx[_]]
    Definition Classes
    RxOptionVarRxOps
  29. def recover[U](f: PartialFunction[Throwable, U]): Rx[U]

    Recover from a known error and emit a replacement value

    Recover from a known error and emit a replacement value

    Definition Classes
    RxOps
  30. def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): Rx[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

    Definition Classes
    RxOps
  31. def run[U](effect: (Option[A]) => U): Cancelable

    Evaluate this Rx[A] and apply the given effect function.

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

    Definition Classes
    RxOps
  32. def runContinuously[U](effect: (Option[A]) => U): Cancelable

    Keep evaluating Rx[A] even if OnError(e) or OnCompletion is reported.

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

    Definition Classes
    RxOps
  33. def set(newValue: Option[A]): Unit
    Definition Classes
    RxVarOps
  34. def setException(e: Throwable): Unit

    Propagate an error to the subscribers

    Propagate an error to the subscribers

    Definition Classes
    RxOptionVarRxVarOps
  35. def stop(): Unit

    Stop updating this variable and send OnCompletion event to the downstream subscribers.

    Stop updating this variable and send OnCompletion event to the downstream subscribers. After this method is called, the behavior of the downstream subscribers is undefined for further updates of this variable.

    Definition Classes
    RxOptionVarRxVarOps
  36. def subscribe[U](subscriber: (Option[A]) => U): Cancelable
    Definition Classes
    RxOps
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toRx: Rx[Option[A]]
    Definition Classes
    RxOptionRxOps
  39. def toString(): String
    Definition Classes
    RxOptionVar → AnyRef → Any
  40. def transform[B](f: (Option[A]) => B): Rx[B]
    Definition Classes
    RxOption
  41. def transformOption[B](f: (Option[A]) => Option[B]): RxOption[B]
    Definition Classes
    RxOption
  42. def transformRx[B](f: (Option[A]) => Rx[B]): Rx[B]
    Definition Classes
    RxOption
  43. def transformRxOption[B](f: (Option[A]) => RxOption[B]): RxOption[B]
    Definition Classes
    RxOption
  44. def update(updater: (Option[A]) => Option[A], force: Boolean = false): 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

    Definition Classes
    RxOptionVarRxVarOps
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def withFilter(f: (A) => Boolean): RxOption[A]
    Definition Classes
    RxOption

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from RxVarOps[Option[A]]

Inherited from RxOption[A]

Inherited from RxOps[Option[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped