trait RxOptionCache[A] extends RxOption[A]
An interface for enriching RxOption[A] with caching capability
- Alphabetic
- By Inheritance
- RxOptionCache
- RxOption
- Rx
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def expireAfterWrite(time: Long, unit: TimeUnit): RxOptionCache[A]
- abstract def getCurrent: Option[A]
-
abstract
def
in: RxStream[Option[A]]
- Attributes
- protected
- Definition Classes
- RxOption
-
abstract
def
parents: Seq[Rx[_]]
- Definition Classes
- Rx
- abstract def withTicker(ticker: Ticker): RxOptionCache[A]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
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
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
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
- 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
-
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