Class

wvlet.airframe.rx

RxOptionVar

Related Doc: package rx

Permalink

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

RxVar implementation for Option[A] type values

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

Instance Constructors

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def :=(newValue: Option[A]): Unit

    Permalink
    Definition Classes
    RxVarOps
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def filter(f: (A) ⇒ Boolean): RxOption[A]

    Permalink
    Definition Classes
    RxOption
  10. def flatMap[B](f: (A) ⇒ Rx[B]): RxOption[B]

    Permalink
    Definition Classes
    RxOption
  11. def forceSet(newValue: Option[A]): Unit

    Permalink
    Definition Classes
    RxVarOps
  12. def forceUpdate(updater: (Option[A]) ⇒ Option[A]): Unit

    Permalink

    Update the variable and force notification to subscribers

    Update the variable and force notification to subscribers

    Definition Classes
    RxVarOps
  13. def foreach[U](f: (Option[A]) ⇒ U): Cancelable

    Permalink
    Definition Classes
    RxOptionVarRxVarOps
  14. def get: Option[A]

    Permalink
    Definition Classes
    RxOptionVarRxVarOps
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def getOrElse[A1 >: A](default: ⇒ A1): RxStream[A1]

    Permalink
    Definition Classes
    RxOption
  17. def getOrElseRx[A1 >: A](default: ⇒ Rx[A1]): RxStream[A1]

    Permalink
    Definition Classes
    RxOption
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. def in: RxStream[Option[A]]

    Permalink
    Attributes
    protected
    Definition Classes
    RxOptionVarRxOption
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def map[B](f: (A) ⇒ B): RxOption[B]

    Permalink
    Definition Classes
    RxOption
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def orElse[A1 >: A](default: ⇒ Option[A1]): RxOption[A1]

    Permalink
    Definition Classes
    RxOption
  26. def parents: Seq[Rx[_]]

    Permalink
    Definition Classes
    RxOptionVarRx
  27. def recover[U](f: PartialFunction[Throwable, U]): RxStream[U]

    Permalink

    Recover from a known error and emit a replacement value

    Recover from a known error and emit a replacement value

    Definition Classes
    Rx
  28. def recoverWith[A](f: PartialFunction[Throwable, Rx[A]]): RxStream[A]

    Permalink

    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
    Rx
  29. def run[U](effect: (Option[A]) ⇒ U): Cancelable

    Permalink

    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
    Rx
  30. def runContinuously[U](effect: (Option[A]) ⇒ U): Cancelable

    Permalink

    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
    Rx
  31. def set(newValue: Option[A]): Unit

    Permalink
    Definition Classes
    RxVarOps
  32. def subscribe[U](subscriber: (Option[A]) ⇒ U): Cancelable

    Permalink
    Definition Classes
    Rx
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toRxStream: RxStream[Option[A]]

    Permalink
    Definition Classes
    RxOptionRx
  35. def toSeq: Seq[Option[A]]

    Permalink

    Materialize the stream as Seq[A].

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

    Definition Classes
    Rx
  36. def toString(): String

    Permalink
    Definition Classes
    RxOptionVar → AnyRef → Any
  37. def transform[B](f: (Option[A]) ⇒ B): RxStream[B]

    Permalink
    Definition Classes
    RxOption
  38. def transformOption[B](f: (Option[A]) ⇒ Option[B]): RxOption[B]

    Permalink
    Definition Classes
    RxOption
  39. def transformRx[B](f: (Option[A]) ⇒ Rx[B]): RxStream[B]

    Permalink
    Definition Classes
    RxOption
  40. def update(updater: (Option[A]) ⇒ Option[A], force: Boolean = false): Unit

    Permalink

    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
  41. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def withFilter(f: (A) ⇒ Boolean): RxOption[A]

    Permalink
    Definition Classes
    RxOption

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from RxVarOps[Option[A]]

Inherited from RxOption[A]

Inherited from Rx[Option[A]]

Inherited from AnyRef

Inherited from Any

Ungrouped