Trait

wvlet.airframe.rx

RxSource

Related Doc: package rx

Permalink

trait RxSource[A] extends RxStream[A]

Rx implementation where the data is provided from an external process.

Linear Supertypes
RxStream[A], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, Rx[A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RxSource
  2. RxStream
  3. LogSupport
  4. LazyLogger
  5. LoggingMethods
  6. Serializable
  7. Serializable
  8. Rx
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def add(ev: RxEvent): Unit

    Permalink
  2. abstract def next: RxEvent

    Permalink
  3. abstract def parents: Seq[Rx[_]]

    Permalink
    Definition Classes
    Rx

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def concat[A1 >: A](other: Rx[A1]): RxStream[A1]

    Permalink
    Definition Classes
    RxStream
  7. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  13. def filter(f: (A) ⇒ Boolean): RxStream[A]

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def join[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  21. def join[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  22. def join[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    Emit a new output if one of Rx[A] or Rx[B] is changed.

    Emit a new output if one of Rx[A] or Rx[B] is changed.

    This method is useful when you need to monitor multiple Rx objects.

    Using joins will be more intuitive than nesting multiple Rx operators like Rx[A].map { x => ... Rx[B].map { ...} }.

    Definition Classes
    RxStream
  23. def lastOption: RxOption[A]

    Permalink
    Definition Classes
    RxStream
  24. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  26. def map[B](f: (A) ⇒ B): RxStream[B]

    Permalink
    Definition Classes
    RxStream
  27. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  30. 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
  31. 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
  32. def run[U](effect: (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
  33. def runContinuously[U](effect: (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
  34. def sample(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  35. def subscribe[U](subscriber: (A) ⇒ U): Cancelable

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

    Permalink
    Definition Classes
    AnyRef
  37. def take(n: Long): RxStream[A]

    Permalink

    Take an event up to n elements.

    Take an event up to n elements. This may receive fewer events than n if the upstream operator completes before generating n elements.

    Definition Classes
    RxStream
  38. def throttleFirst(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the first item of the source within each sampling period.

    Emit the first item of the source within each sampling period. This is useful, for example, to prevent double-clicks of buttons.

    Definition Classes
    RxStream
  39. def throttleLast(timeWindow: Long, unit: TimeUnit = TimeUnit.MILLISECONDS): RxStream[A]

    Permalink

    Emit the most recent item of the source within periodic time intervals.

    Emit the most recent item of the source within periodic time intervals.

    Definition Classes
    RxStream
  40. def toOption[X, A1 >: A](implicit ev: <:<[A1, Option[X]]): RxOption[X]

    Permalink
    Definition Classes
    RxStream
  41. def toRxStream: RxStream[A]

    Permalink
    Definition Classes
    RxStreamRx
  42. def toSeq: Seq[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
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  45. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  46. final def wait(arg0: Long, arg1: Int): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  50. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  51. def withFilter(f: (A) ⇒ Boolean): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  52. def withName(name: String): RxStream[A]

    Permalink
    Definition Classes
    RxStream
  53. def zip[B, C, D](b: Rx[B], c: Rx[C], d: Rx[D]): RxStream[(A, B, C, D)]

    Permalink
    Definition Classes
    RxStream
  54. def zip[B, C](b: Rx[B], c: Rx[C]): RxStream[(A, B, C)]

    Permalink
    Definition Classes
    RxStream
  55. def zip[B](other: Rx[B]): RxStream[(A, B)]

    Permalink

    Combine two Rx streams to form a sequence of pairs.

    Combine two Rx streams to form a sequence of pairs. This will emit a new pair when both of the streams are updated.

    Definition Classes
    RxStream

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 RxStream[A]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from Rx[A]

Inherited from AnyRef

Inherited from Any

Ungrouped