class RxOptionVar[A] extends RxOption[A] with RxVarOps[Option[A]]
RxVar implementation for Option[A] type values
- Alphabetic
- By Inheritance
- RxOptionVar
- RxVarOps
- RxOption
- Rx
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
:=(newValue: Option[A]): Unit
- Definition Classes
- RxVarOps
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cache[A1 >: A]: RxOptionCache[A1]
- Definition Classes
- RxOption
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filter(f: (A) ⇒ Boolean): RxOption[A]
- Definition Classes
- RxOption
-
def
flatMap[B](f: (A) ⇒ Rx[B]): RxOption[B]
- Definition Classes
- RxOption
-
def
forceSet(newValue: Option[A]): Unit
- Definition Classes
- 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
- Definition Classes
- RxVarOps
-
def
foreach[U](f: (Option[A]) ⇒ U): Cancelable
- Definition Classes
- RxOptionVar → RxVarOps
-
def
foreachEvent[U](effect: (RxEvent) ⇒ U): Cancelable
- Definition Classes
- RxOptionVar → RxVarOps
-
def
get: Option[A]
- Definition Classes
- RxOptionVar → RxVarOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getOrElse[A1 >: A](default: ⇒ A1): RxStream[A1]
- Definition Classes
- RxOption
-
def
getOrElseRx[A1 >: A](default: ⇒ Rx[A1]): RxStream[A1]
- Definition Classes
- RxOption
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
in: RxStream[Option[A]]
- Attributes
- protected
- Definition Classes
- RxOptionVar → RxOption
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): RxOption[B]
- Definition Classes
- RxOption
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
orElse[A1 >: A](default: ⇒ Option[A1]): RxOption[A1]
- Definition Classes
- RxOption
-
def
parents: Seq[Rx[_]]
- Definition Classes
- RxOptionVar → Rx
-
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
- Definition Classes
- 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
- Definition Classes
- Rx
-
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
- Rx
-
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
- Rx
-
def
set(newValue: Option[A]): Unit
- Definition Classes
- RxVarOps
-
def
setException(e: Throwable): Unit
Propagate an error to the subscribers
Propagate an error to the subscribers
- Definition Classes
- RxOptionVar → RxVarOps
-
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
- RxOptionVar → RxVarOps
-
def
subscribe[U](subscriber: (Option[A]) ⇒ U): Cancelable
- Definition Classes
- Rx
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def toRxStream: RxStream[Option[A]]
-
def
toSeq: Seq[Option[A]]
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
-
def
toString(): String
- Definition Classes
- RxOptionVar → AnyRef → Any
-
def
transform[B](f: (Option[A]) ⇒ B): RxStream[B]
- Definition Classes
- RxOption
-
def
transformOption[B](f: (Option[A]) ⇒ Option[B]): RxOption[B]
- Definition Classes
- RxOption
-
def
transformRx[B](f: (Option[A]) ⇒ Rx[B]): RxStream[B]
- Definition Classes
- RxOption
-
def
transformRxOption[B](f: (Option[A]) ⇒ RxOption[B]): RxOption[B]
- Definition Classes
- RxOption
-
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
- RxOptionVar → RxVarOps
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withFilter(f: (A) ⇒ Boolean): RxOption[A]
- Definition Classes
- RxOption
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated